Skip to content

Commit

Permalink
📚 update release note
Browse files Browse the repository at this point in the history
  • Loading branch information
chfw committed Oct 26, 2018
1 parent 50ff68c commit f62add6
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 4 deletions.
14 changes: 14 additions & 0 deletions .moban.cd/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
name: moban
organisation: moremoban
releases:
- changes:
- action: Added
details:
- "`#89`: Install pypi-hosted mobans through requires syntax"
- action: Updated
details:
- "`#96`: Fix for FileNotFoundError for plugins"
- "various documentation updates"
- action: Removed
details:
- "`#88`: removed python 2.6 support"
- removed python 3.3 support
date: 27-18-2018
version: 0.3.0
- changes:
- action: Added
details:
Expand Down
23 changes: 23 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,29 @@
Change log
================================================================================

0.3.0 - 27-18-2018
--------------------------------------------------------------------------------

Added
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

#. `#89 <https://github.com/moremoban/moban/issues/89>`_: Install pypi-hosted
mobans through requires syntax

Updated
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

#. `#96 <https://github.com/moremoban/moban/issues/96>`_: Fix for
FileNotFoundError for plugins
#. various documentation updates

Removed
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

#. `#88 <https://github.com/moremoban/moban/issues/88>`_: removed python 2.6
support
#. removed python 3.3 support

0.2.4 - 14-07-2018
--------------------------------------------------------------------------------

Expand Down
6 changes: 3 additions & 3 deletions moban/filters/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
def split_length(input_line, length):
start = 0
limit = length
line = re.sub(r'\s+', " ", input_line)
line = re.sub(r"\s+", " ", input_line)
line_length = len(line)
if line_length <= length:
yield line
else:
while True:
if " " in line[start: start + limit]: # flake8: noqa
if " " in line[start : start + limit]: # flake8: noqa
# go back and find a space
while limit > 0 and line[start + limit] != " ":
limit -= 1
Expand All @@ -24,7 +24,7 @@ def split_length(input_line, length):
] != " ":
limit += 1

yield line[start: start + limit] # flake8: noqa
yield line[start : start + limit] # flake8: noqa
start = start + limit + 1
limit = length
if len(line[start:]) < length or start + limit >= len(line):
Expand Down
2 changes: 1 addition & 1 deletion moban/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def file_permissions(afile):


def strip_off_trailing_new_lines(content):
return re.sub(r'(\n\s+)+$', r'\n', content)
return re.sub(r"(\n\s+)+$", r"\n", content)


def write_file_out(filename, content, strip=True, encode=True):
Expand Down

0 comments on commit f62add6

Please sign in to comment.