Skip to content
Snippets Groups Projects
Commit 0beef430 authored by Tamas Gal's avatar Tamas Gal :speech_balloon:
Browse files

Switch from yapf to black

parent 2c31455d
No related branches found
No related tags found
No related merge requests found
Pipeline #14824 passed with warnings
......@@ -39,10 +39,21 @@ lint:
dependencies:
pip install -Ur requirements.txt
.PHONY: yapf
yapf:
yapf -i -r $(PKGNAME)
yapf -i -r tests
yapf -i setup.py
.PHONY: all clean install install-dev test test-nocov flake8 pep8 dependencies docstyle
.PHONY: black
black:
black km3io
black examples
black tests
black doc/conf.py
black setup.py
.PHONY: black-check
black-check:
black --check km3io
black --check examples
black --check tests
black --check doc/conf.py
black --check setup.py
.PHONY: all clean install install-dev test test-nocov flake8 pep8 dependencies docstyle black black-check
black
km3net-testdata>=0.2.9
matplotlib
memory_profiler
......@@ -13,5 +14,4 @@ sphinx-autoapi
sphinx-gallery>=0.1.12
sphinx_rtd_theme
sphinxcontrib-versioning
yapf>=0.30.0
wheel
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment