-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpyproject.toml
More file actions
122 lines (110 loc) · 2.9 KB
/
pyproject.toml
File metadata and controls
122 lines (110 loc) · 2.9 KB
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
[tool.poetry]
name = "datagov-harvester"
version = "0.5.0"
description = ""
authors = ["Datagov Team <datagov@gsa.gov>"]
maintainers = ["Datagov Team <datagov@gsa.gov>"]
readme = "README.md"
packages = [{ include = "harvester" }]
license = "LICENSE.md" # TODO fix me
repository = "https://github.com/GSA/datagov-harvester"
[tool.poetry.requires-plugins]
poetry-plugin-export = ">=1.8"
[tool.poetry.dependencies]
python = "~3.12.0" # stay with 3.12 until *.apps.internal:61443 works for 3.13
jsonschema = {extras = ["format"], version = "^4.26.0"}
python-dotenv = ">=1"
deepdiff = ">=8.6.1"
ckanapi = ">=4.7"
beautifulsoup4 = "^4.14.3"
sansjson = "^0.3.0"
sqlalchemy = "^2.0.48"
flask = "^3.1.3"
flask-sqlalchemy = "^3.1.1"
flask-wtf = "^1.2.1"
flask-migrate = "^4.0.7"
bootstrap-flask = "^2.5.0"
cloudfoundry-client = "^1.40.0"
pyjwt = "^2.12.1"
cryptography = "^46.0.6"
boltons = "^25.0.0"
jinja2-fragments = "^1.11.0"
flask-htmx = "^0.4.0"
gunicorn = "^25.3.0"
gevent = "^25.9.1"
geojson-validator = "^0.6.0"
GeoAlchemy2 = "^0.18.4"
protobuf = "^6.33.0"
botocore = ">=1.40.55,<2.0.0"
opensearch-py = ">=3.0.0,<4.0.0"
psycopg = {extras = ["binary"], version = "^3.3.3"}
aiohttp = "^3.13.4" #SNYK-PYTHON-AIOHTTP-10742466
urllib3 = ">=2.5.0" #SNYK-PYTHON-URLLIB3-10390193, SNYK-PYTHON-URLLIB3-10390194
alembic-postgresql-enum = "^1.9.0"
google-auth = "^2.49.1"
google-api-python-client = "^2.193.0"
pyasn1 = "^0.6.3" #SNYK-PYTHON-PYASN1-15032639
werkzeug = "^3.1.7" #SNYK-PYTHON-WERKZEUG-14908843
apiflask = "^3.1.0"
flask-talisman = "^1.1.0"
newrelic = "^12.1.0"
[tool.poetry.group.dev.dependencies]
pytest = ">=7.3.2"
ruff = "^0.15.8"
pytest-cov = "^7.1.0"
debugpy = "^1.8.20"
isort = "^8.0.1"
black = "^26.3.1"
pre-commit = "^4.5.1"
freezegun = "^1.5.5"
pytest-local-badge = "^1.0.3"
pytest-playwright = "^0.7.1"
pytest-flask = "^1.3.0"
playwright = "^1.58.0"
[tool.ruff]
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
"migrations",
]
# Same as Black.
line-length = 88
# Assume Python 3.10.
target-version = "py310"
[tool.ruff.lint]
# Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default.
select = ["E", "F"]
ignore = []
# Allow autofix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.lint.mccabe]
# Unlike Flake8, default to a complexity level of 10.
max-complexity = 10
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.isort]
profile = "black"
skip = [".poetry", "app/static/node_modules", ".venv"]