-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minimal poetry dependencies setup, pre-commit config
- Loading branch information
1 parent
6a10c72
commit ec5f5c5
Showing
4 changed files
with
1,852 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
default_language_version: | ||
python: python3.8 | ||
repos: | ||
- repo: https://github.com/pre-commit/pre-commit-hooks | ||
rev: v3.4.0 | ||
hooks: | ||
- id: check-yaml | ||
- id: check-json | ||
- id: check-added-large-files | ||
- id: end-of-file-fixer | ||
- id: trailing-whitespace | ||
- id: check-case-conflict | ||
- id: mixed-line-ending | ||
|
||
- repo: https://github.com/psf/black | ||
rev: 20.8b1 | ||
hooks: | ||
- id: black | ||
|
||
- repo: https://github.com/timothycrosley/isort | ||
rev: 5.7.0 | ||
hooks: | ||
- id: isort | ||
|
||
- repo: https://gitlab.com/pycqa/flake8 | ||
rev: 3.8.4 | ||
hooks: | ||
- id: flake8 | ||
additional_dependencies: [flake8-bugbear] | ||
|
||
- repo: https://github.com/nbQA-dev/nbQA | ||
rev: 0.5.7 | ||
hooks: | ||
- id: nbqa-black | ||
additional_dependencies: [black==20.8b1] | ||
- id: nbqa-isort | ||
additional_dependencies: [isort==5.7.0] | ||
- id: nbqa-flake8 | ||
additional_dependencies: [flake8==3.8.4] |
Oops, something went wrong.