Skip to content

Commit

Permalink
Merge pull request #7 from danila-schelkov/pre-commit
Browse files Browse the repository at this point in the history
feat(pre-commit): added pre-commit and flake8 config
  • Loading branch information
danila-schelkov committed Feb 5, 2023
2 parents 1325504 + 2ad945e commit 112cbc2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[flake8]
max-line-length = 88
ignore = E203
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
repos:
- repo: https://github.com/psf/black
rev: 22.12.0
hooks:
- id: black
language_version: python3.10
- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
hooks:
- id: flake8

0 comments on commit 112cbc2

Please sign in to comment.