-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathpyproject.toml
More file actions
122 lines (115 loc) · 5.19 KB
/
Copy pathpyproject.toml
File metadata and controls
122 lines (115 loc) · 5.19 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.ruff]
target-version = "py312"
line-length = 110
fix = true
[tool.ruff.lint]
select = []
ignore = ["ANN401", "ARG005", "B904", "BLE001", "C90", "COM812", "D100", "D102", "D104", "D105", "D107", "D200", "D202", "D207", "D208", "D212", "E501", "E722", "EM101", "EM102", "ERA001", "FA", "FBT001", "FBT002", "FIX001", "FIX002", "I001", "N806", "PERF203", "PLR09", "PLR2004", "PTH", "Q000", "S101", "S110", "S113", "S603", "S607", "SIM105", "T201", "TD001", "TD002", "TD003", "TRY003", "W293"]
extend-select = ["UP", "I", "S", "B", "ALL"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.extend-per-file-ignores]
"tests/**" = ["ANN", "ARG", "ASYNC", "B904", "BLE001", "D", "DTZ", "E722", "E741", "FBT003", "INP001", "N", "PGH003", "PLC", "PLR2004", "PLW0603", "PLW1641", "PT009", "PT027", "RET", "RUF012", "RUF100", "S104", "S105", "S106", "S108", "S113", "S324", "S603", "S607", "S608", "SLF", "TRY003", "TRY301"]
"**/tests/**" = ["ANN", "ARG", "ASYNC", "B904", "BLE001", "D", "DTZ", "E722", "E741", "FBT003", "INP001", "N", "PGH003", "PLC", "PLR2004", "PLW0603", "PLW1641", "PT009", "PT027", "RET", "RUF012", "RUF100", "S104", "S105", "S106", "S108", "S113", "S324", "S603", "S607", "S608", "SLF", "TRY003", "TRY301"]
"**/test_*.py" = ["ANN", "ARG", "ASYNC", "B904", "BLE001", "D", "DTZ", "E722", "E741", "FBT003", "INP001", "N", "PGH003", "PLC", "PLR2004", "PLW0603", "PLW1641", "PT009", "PT027", "RET", "RUF012", "RUF100", "S104", "S105", "S106", "S108", "S113", "S324", "S603", "S607", "S608", "SLF", "TRY003", "TRY301"]
"**/*_test.py" = ["ANN", "ARG", "ASYNC", "B904", "BLE001", "D", "DTZ", "E722", "E741", "FBT003", "INP001", "N", "PGH003", "PLC", "PLR2004", "PLW0603", "PLW1641", "PT009", "PT027", "RET", "RUF012", "RUF100", "S104", "S105", "S106", "S108", "S113", "S324", "S603", "S607", "S608", "SLF", "TRY003", "TRY301"]
"geoportal/c2cgeoportal_geoportal/scaffolds/advance_create/{{cookiecutter.project}}/**" = []
"geoportal/c2cgeoportal_geoportal/scaffolds/create/{{cookiecutter.project}}/tests/**" = []
[tool.ruff.lint.isort]
known-third-party = ["c2cwsgiutils", "c2cgeoform"]
known-first-party = ["c2cgeoportal_commons", "c2cgeoportal_geoportal", "c2cgeoportal_admin", "geomapfish_qgisserver"]
[tool.poetry.dependencies]
python = ">=3.14,<4"
alembic = "1.19.1" # geoportal
altcha = "2.1.0" # geoportal
"c2c.template" = "2.5.0" # geoportal
c2cgeoform = "2.5.1" # commons
colander = "2.0" # commons, admin
ColanderAlchemy = "0.3.4" # commons
cookiecutter = "2.7.1" # geoportal
deform = "2.0.15" # commons, admin
defusedxml = "0.7.1" # geoportal
"dogpile.cache" = "1.5.0" # geoportal
Fiona = "1.10.1" # geoportal raster
GeoAlchemy2 = "0.20.0" # commons, geoportal
geojson = "3.3.0" # geoportal
getitfixed = "1.1.1" # geoportal
isodate = "0.7.2" # geoportal
Mako = "1.4.1" # geoportal
OWSLib = "0.36.0" # geoportal
papyrus = "2.6.2" # commons, geoportal
passwordgenerator = "1.5.1" # geoportal
psycopg2 = "2.9.12" # geoportal
pycryptodome = "3.23.0" # geoportal
pyproj = "3.7.2" # admin, other?
pyotp = "2.10.0" # geoportal
pyramid = "2.1" # geoportal
pyramid_debugtoolbar = "4.12.1" # geoportal
pyramid-jinja2 = "2.10.1" # admin
pyramid_mako = "1.1.0" # geoportal
pyramid_multiauth = "1.1.0" # geoportal
pyramid_tm = "2.6" # geoportal
python-dateutil = "2.9.0.post0" # geoportal
PyYAML = "6.0.1" # geoportal
rasterio = "1.5.1" # geoportal raster
requests = "2.34.2" # geoportal
redis = "8.1.0" # geoportal cache
Shapely = "2.1.2" # geoportal
SQLAlchemy = "2.0.52"
transaction = "5.1" # commons, geoportal
translationstring = "1.4" # admin
"zope.event" = "6.2" # commons, geoportal
c2cwsgiutils = { version = "6.1.10", extras = ["broadcast", "standard", "oauth2", "debug"] }
oauthlib = "3.3.1"
tilecloud = "1.13.5" # geoportal
azure-storage-blob = "12.30.0"
simple_openid_connect = '2.4.0' # geoportal
pkce = '1.0.3' # geoportal
basicauth = "1.0.0"
prospector = { version = "1.19.1", extras = ["with_mypy", "with_bandit", "with_pyroma", "with_ruff"] }
prospector-profile-duplicated = "1.12.0"
prospector-profile-utils = "1.27.0"
ruff = "0.16.2"
beautifulsoup4 = "4.15.0"
certifi = "2026.7.22"
cryptography = "50.0.0"
crypt-r = {version = "3.13.1", python = ">=3.13"}
setuptools = "80.10.2"
pylint = "4.0.7"
[tool.poetry.group.dev.dependencies]
Babel = "2.18.0" # i18n
beautifulsoup4 = "4.15.0" # admin tests
Jinja2 = "3.1.6" # c2c.template
lingva = "5.0.6" # i18n
PasteScript = "3.7.0" # geoportal pcreate
polib = "1.2.0" # i18n
pykwalify = "1.8.0" # Validate config
pytest = "9.1.1" # tests
pytest-asyncio = "1.4.0" # tests
WebTest = "3.0.7" # admin tests
types-pytz = "2026.3.1.20260727"
types-pyyaml = "6.0.12.20260724"
types-python-dateutil = "2.9.0.20260807"
types-requests = "2.*"
types-setuptools = "83.0.0.20260807"
mappyfile = "1.2.0"
mapbox-vector-tile = "2.2.0"
responses = "0.26.2"
waitress = "3.0.2"
boto3 = "1.43.70"
# Used on upgrade
pre-commit = "4.6.2"
prek = "0.4.13"
# To be able to upgrade project from version <= 2.8
c2cciutils = { version = "1.5.14", extras = ["checks"] }
[project]
name = "c2cgeoportal"
version = "0.0.0"
description = "Not used"
classifiers = [
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.14',
]
dynamic = ["dependencies", "version"]
requires-python = ">=3.14"