diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2020-07-03 13:50:26 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2020-07-03 13:50:26 +0200 |
commit | 20a61dc6ed9bebd933d63a38e7fffb0d935fc5a0 (patch) | |
tree | 63cc03556ecb4d0eb519cbed509bd3573defc25b /README.md | |
parent | f249d37156b8a82c1e5fceb09b79e8401bf87b96 (diff) |
README: pep8 -> black
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -8,8 +8,8 @@ sudo apt install python3-numpy python3-scipy python3-sklearn Code Style --- -Please do not commit code with significant PEP8 violations. It's best to check -this with a pre-commit hook: +Please only commit blackened code. It's best to check this with a pre-commit +hook: ``` #!/bin/sh @@ -25,5 +25,5 @@ fi # Redirect output to stderr. exec 1>&2 -git diff --cached $against | flake8 --diff +black --check $(git diff --cached --name-only --diff-filter=ACM $against | grep '\.py$') ``` |