mirror of https://github.com/nucypher/nucypher.git
Use darker in pre-commit to ensure all future changes are black/isort compliant
parent
f78e7732f7
commit
f490ee3667
|
@ -52,6 +52,14 @@ repos:
|
|||
files: \.py$ # only target python files, for example - skip contract_registry.json
|
||||
args: [--license-filepath, '.nucypher-license', --detect-license-in-X-top-lines=16, --comment-style, '"""||"""']
|
||||
|
||||
- repo: https://github.com/akaihola/darker
|
||||
rev: 1.4.2
|
||||
hooks:
|
||||
- id: darker
|
||||
args: [--isort]
|
||||
additional_dependencies:
|
||||
- isort~=5.9
|
||||
|
||||
|
||||
# TODO: May be incrementally introduced
|
||||
# - repo: https://github.com/PyCQA/bandit
|
||||
|
|
Loading…
Reference in New Issue