diff options
author | Alexandre Flament <alex@al-f.net> | 2021-12-24 09:49:45 +0100 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarit.de> | 2021-12-27 08:58:59 +0100 |
commit | 3c77412d335bc50edaf575a797e8c43a22fb5996 (patch) | |
tree | 8c96f550ba79b09f4bbec560d379dc327956a583 /Makefile | |
parent | 54bce130f9074c3d63009237b014c727a1443cc5 (diff) | |
download | searxng-3c77412d335bc50edaf575a797e8c43a22fb5996.tar.gz searxng-3c77412d335bc50edaf575a797e8c43a22fb5996.zip |
[mod] replace pycodestyle by black
"make test.black" checks for the code style
"make format.python" format the python code
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -54,8 +54,8 @@ search.checker.%: install $(Q)./manage pyenv.cmd searx-checker -v "$(subst _, ,$(patsubst search.checker.%,%,$@))" PHONY += test ci.test test.shell -ci.test: test.yamllint test.pep8 test.pylint test.unit test.robot -test: test.yamllint test.pep8 test.pylint test.unit test.robot test.shell +ci.test: test.yamllint test.black test.pylint test.unit test.robot +test: test.yamllint test.black test.pylint test.unit test.robot test.shell test.shell: $(Q)shellcheck -x -s dash \ dockerfiles/docker-entrypoint.sh @@ -88,7 +88,8 @@ MANAGE += node.env node.clean MANAGE += py.build py.clean MANAGE += pyenv pyenv.install pyenv.uninstall MANAGE += pypi.upload pypi.upload.test -MANAGE += test.yamllint test.pylint test.pep8 test.unit test.coverage test.robot test.clean +MANAGE += format.python +MANAGE += test.yamllint test.pylint test.black test.unit test.coverage test.robot test.clean MANAGE += themes.all themes.oscar themes.simple themes.simple.test pygments.less MANAGE += static.build.commit static.build.drop static.build.restore MANAGE += nvm.install nvm.clean nvm.status nvm.nodejs |