autopep8: Increase aggressive level
This commit is contained in:
parent
c47850b8ae
commit
2047a8efbc
2 changed files with 5 additions and 1 deletions
4
Makefile
4
Makefile
|
|
@ -300,3 +300,7 @@ bump-version:
|
||||||
sed -i "s|Release:\(\s*\)[[:digit:]]\+|Release:\11|" osbuild.spec
|
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)\"|" setup.py
|
||||||
sed -i "s|__version__ = \"$(VERSION)\"|__version__ = \"$(NEXT_VERSION)\"|" osbuild/__init__.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
tox.ini
2
tox.ini
|
|
@ -50,7 +50,7 @@ deps =
|
||||||
autopep8==2.0.2
|
autopep8==2.0.2
|
||||||
|
|
||||||
commands =
|
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]
|
[testenv:pylint]
|
||||||
deps =
|
deps =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue