-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpyproject.toml
71 lines (65 loc) · 1.5 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[tool.poetry]
name = "sucuri"
version = "0.1.0"
description = ""
authors = ["jfunez <[email protected]>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.8"
fastapi = "^0.58.0"
SQLAlchemy = "^1.3.18"
SQLAlchemy-Utils = "^0.36.6"
uvicorn = "^0.11.5"
alembic = "^1.4.2"
sqlalchemy_utils = "^0.36.6"
psycopg2-binary = "^2.8.5"
[tool.poetry.dev-dependencies]
flake8 = "^3.8.3"
black = "^19.10b0"
isort = {extras = ["pyproject"], version = "^4.3.21"}
pre-commit = "^2.5.1"
mypy = "^0.782"
pytest = "^5.4.3"
codecov = "^2.1.7"
pytest-cov = "^2.10.0"
flake8-bugbear = "^20.1.4"
flake8-builtins = "^1.5.3"
flake8_docstrings = "^1.5.0"
sqlalchemy-stubs = "^0.3"
[tool.black]
line-length = 88
target-version = ['py37', 'py38']
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.pytest_cache
| configs
| dockerfiles
| docs
| requirements
)/
'''
[tool.isort]
sections = 'FUTURE,STDLIB,PYTEST,THIRDPARTY,FIRSTPARTY,LOCALFOLDER'
force_single_line = true
known_future_library = 'future,pies'
known_pytest = 'pytest,py.test'
known_first_party = 'iib,iib_data'
import_heading_stdlib = 'Standard Library'
import_heading_pytest = 'pytest'
import_heading_firstparty = 'IIB'
lines_after_imports = 2
not_skip = '__init__.py'
include_trailing_comma = true
force_grid_wrap = false
combine_as_imports = true
line_length = 88
[tool.flake8]
ignore = 'E203, E266, E501, W503, F403, F401'
max-line-length = 88
max-complexity = 18
select = 'B,C,E,F,W,T4,B9'
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"