Skip to content

Commit 99a57dc

Browse files
committed
minimal poetry dependencies setup, pre-commit config
1 parent 362b588 commit 99a57dc

File tree

4 files changed

+1852
-0
lines changed

4 files changed

+1852
-0
lines changed

.pre-commit-config.yaml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
default_language_version:
2+
python: python3.8
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v3.4.0
6+
hooks:
7+
- id: check-yaml
8+
- id: check-json
9+
- id: check-added-large-files
10+
- id: end-of-file-fixer
11+
- id: trailing-whitespace
12+
- id: check-case-conflict
13+
- id: mixed-line-ending
14+
15+
- repo: https://github.com/psf/black
16+
rev: 20.8b1
17+
hooks:
18+
- id: black
19+
20+
- repo: https://github.com/timothycrosley/isort
21+
rev: 5.7.0
22+
hooks:
23+
- id: isort
24+
25+
- repo: https://gitlab.com/pycqa/flake8
26+
rev: 3.8.4
27+
hooks:
28+
- id: flake8
29+
additional_dependencies: [flake8-bugbear]
30+
31+
- repo: https://github.com/nbQA-dev/nbQA
32+
rev: 0.5.7
33+
hooks:
34+
- id: nbqa-black
35+
additional_dependencies: [black==20.8b1]
36+
- id: nbqa-isort
37+
additional_dependencies: [isort==5.7.0]
38+
- id: nbqa-flake8
39+
additional_dependencies: [flake8==3.8.4]

0 commit comments

Comments
 (0)