-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
122 lines (108 loc) · 2.77 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
[build-system]
requires = [
"setuptools",
"setuptools-scm",
"wheel",
"Flask",
"click",
"langchain",
"flask_httpauth",
"openai",
"Flask-Login",
"python-Levenshtein",
"pytest"
]
build-backend="setuptools.build_meta"
[project]
name = "DirectReport"
authors = [{name = "Christopher Webb", email = "[email protected]"}]
description="Direct Report"
readme = "README.md"
version = "0.1.0"
requires-python = ">=3.7"
dependencies = []
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
[project.license]
file = "LICENSE"
[project.urls]
repository = "https://github.com/chriswebb09/DirectReport"
[project.optional-dependencies]
develop = [
"black>=22",
"bump2version>=1.0.0",
"check-manifest",
"flake8>=3.7.8",
"flake8-black>=0.2.1",
"flake8-pyproject",
"mypy",
"openai",
"pytest",
"pytest-cov",
"twine",
"wheel",
]
[tool.black]
color = true
line-length = 120
target-version = ['py310']
skip-string-normalization = true
[tool.check-manifest]
ignore = [
'Assets/*'
]
[tool.flake8]
ignore = ['E203', 'W503', 'F401']
max-line-length=120
exclude=[
'tests/*'
]
per-file-ignores= [
'DirectReport/__init__.py:F401, F403, E402',
'DirectReport/browserview/api/__init__.py:F401, F403, E402',
'DirectReport/browserview/main/routes.py:F401, F403, E402, W503',
'DirectReport/datadependencies/prompts.py:F401, F403, E402, W503',
'DirectReport/browserview/auth/__init__.py:E402',
'DirectReport/browserview/dashboard/__init__.py:E402',
'DirectReport/browserview/errors/__init__.py:E402',
'DirectReport/browserview/main/__init__.py:E402',
'DirectReport/browserview/dashboard/routes.py:E203'
]
[tool.isort]
line_length = 120
known_first_party = 'pydantic'
multi_line_output = 3
include_trailing_comma = true
force_grid_wrap = 0
combine_as_imports = true
[tool.mypy]
python_version = '3.10'
show_error_codes = true
ignore_missing_imports = true
# follow_imports = 'silent'
# strict_optional = true
# warn_redundant_casts = true
# warn_unused_ignores = true
# disallow_any_generics = true
# check_untyped_defs = true
# no_implicit_reexport = true
# warn_unused_configs = true
# disallow_subclassing_any = true
# disallow_incomplete_defs = true
# disallow_untyped_decorators = true
# disallow_untyped_calls = true
[tool.pytest.ini_options]
pythonpath = [
"."
]
asyncio_mode = 'strict'
testpaths = 'tests/'