-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
50 lines (43 loc) · 1.3 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
[tool.poetry]
name = "Bender"
version = "0.1.0"
description = ""
authors = ["Aleksey Strelkov <[email protected]>"]
[tool.poetry.dependencies]
python = "^3.10"
aiogram = "3.0.0b3"
python-dotenv = "^0.20.0"
redis = "^4.3.4"
google-spreadsheet = "^0.0.6"
google-auth-oauthlib = "^1.0.0"
pandas = "^2.0.1"
[tool.poetry.dev-dependencies]
flake8 = "^6.0.0"
Flake8-pyproject = "^1.1.0"
isort = "^5.10.1"
mypy = "^0.981"
black = {version = "^22.8.0", allow-prereleases = true}
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
line_length = 120
lines_after_imports = 2
lines_between_types = 0
skip = ["versions"]
[tool.black]
line-length = 120
exclude = ["versions"]
[tool.flake8]
max-line-length = 120
ignore = ["F401", "F405", "W503", "W605"]
exclude = ["versions"]
[tool.mypy]
show_column_numbers = true # Will add column offsets to error messages
show_error_codes = true # Shows error codes in error messages
strict = true # Enables all optional error checking flags
disallow_subclassing_any = false # Disable error whenever a class subclasses a value of type Any
ignore_missing_imports = true # Suppresses error messages about imports that cannot be resolved
follow_imports = "silent" # How mypy follows imported modules
exclude = ["versions"]