Skip to content

Commit

Permalink
autopep8: Increase aggressive level
Browse files Browse the repository at this point in the history
  • Loading branch information
bcl committed Aug 9, 2023
1 parent c47850b commit e9b69fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -300,3 +300,7 @@ bump-version:
sed -i "s|Release:\(\s*\)[[:digit:]]\+|Release:\11|" osbuild.spec
sed -i "s|version=\"$(VERSION)\"|version=\"$(NEXT_VERSION)\"|" setup.py
sed -i "s|__version__ = \"$(VERSION)\"|__version__ = \"$(NEXT_VERSION)\"|" osbuild/__init__.py

.PHONY: format
format:
autopep8 --in-place --max-line-length 120 -a -a -a -j0 -r .
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ deps =
autopep8==2.0.2

commands =
bash -c 'python -m autopep8 -r --diff --exit-code {env:LINTABLES}'
bash -c 'python -m autopep8 --diff --max-line-length 120 -a -a -a -j0 -r --exit-code {env:LINTABLES}'

[testenv:pylint]
deps =
Expand Down

0 comments on commit e9b69fa

Please sign in to comment.