Skip to content

Commit 112cbc2

Browse files
Merge pull request #7 from danila-schelkov/pre-commit
feat(pre-commit): added pre-commit and flake8 config
2 parents 1325504 + 2ad945e commit 112cbc2

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.flake8

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[flake8]
2+
max-line-length = 88
3+
ignore = E203

.pre-commit-config.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
repos:
2+
- repo: https://github.com/psf/black
3+
rev: 22.12.0
4+
hooks:
5+
- id: black
6+
language_version: python3.10
7+
- repo: https://github.com/PyCQA/flake8
8+
rev: 6.0.0
9+
hooks:
10+
- id: flake8

0 commit comments

Comments
 (0)