added pyproject.toml and .flake8

This commit is contained in:
0xArty
2023-04-14 19:58:04 +01:00
parent 4322784b01
commit 8da77020b9
2 changed files with 17 additions and 0 deletions

12
.flake8 Normal file
View File

@@ -0,0 +1,12 @@
[flake8]
max-line-length = 88
extend-ignore = E203
exclude =
.tox,
__pycache__,
*.pyc,
.env
venv/*
.venv/*
reports/*
dist/*

5
pyproject.toml Normal file
View File

@@ -0,0 +1,5 @@
[tool.black]
line-length = 88
target-version = ['py310']
include = '\.pyi?$'
extend-exclude = ""