Skip to content

Commit

Permalink
minimal poetry dependencies setup, pre-commit config
Browse files Browse the repository at this point in the history
  • Loading branch information
v-goncharenko committed Sep 11, 2021
1 parent 6a10c72 commit ec5f5c5
Show file tree
Hide file tree
Showing 4 changed files with 1,852 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .pre-commit-config.yaml
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]
Loading

0 comments on commit ec5f5c5

Please sign in to comment.