Commit 9e35a725 by Peter Weidenbach

pytest config added and pep8 corrections

parent 1c67a116
......@@ -9,3 +9,4 @@ dist/
__pycache__/
*.so
*~
.cache
......@@ -83,7 +83,7 @@ def _get_counted_file_path(original_path):
tmp = re.search(r"-([0-9]+)\Z", original_path)
if tmp is not None:
current_count = int(tmp.group(1))
new_file_path = re.sub(r"-[0-9]+\Z", "-{}".format(current_count+1), original_path)
new_file_path = re.sub(r"-[0-9]+\Z", "-{}".format(current_count + 1), original_path)
else:
new_file_path = "{}-1".format(original_path)
return new_file_path
......
[pytest]
addopts = --pep8 -v
pep8ignore =
*.py E501
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment