-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
90 lines (79 loc) · 1.48 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
[build-system]
requires = [
'setuptools',
]
build-backend = 'setuptools.build_meta'
[project]
name = 'django-snodas'
authors = [
{name = 'Jarrett Keifer', email = '[email protected]'},
]
description = 'Interface to SNODAS daily and aggregate rasters as a tile service and for analytical functions.'
requires-python = '>=3.12'
dependencies = [
'Django',
'django-ninja',
'django-split-settings',
'django-cors-headers',
'psycopg2-binary',
'pydantic',
'pyyaml',
'sqlparse',
]
dynamic = [
'readme',
]
version = '0.0.1'
[project.scripts]
snodas = 'manage:main'
[project.urls]
Repository = 'https://github.com/PSU-CSAR/django-snodas'
[tool.setuptools]
packages = ['snodas']
py-modules = ['manage']
[tool.setuptools.dynamic]
readme = {file = 'README.md'}
[tool.ruff.format]
quote-style = 'single'
[tool.ruff.lint]
# https://docs.astral.sh/ruff/rules/
select = [
'B',
'BLE',
'C4',
'C90',
'COM',
'DTZ',
'E',
'ERA',
'F',
'FA',
'G',
'I',
'INP',
'N',
'NPY',
'PT',
'PTH',
'RET',
'RUF',
'S',
'SIM',
'T20',
'UP',
'W',
]
# settings are a mess, ignore them for now
exclude = ['snodas/settings/*']
[tool.ruff.lint.per-file-ignores]
'__init__.py' = ['E402']
'tests/**/*' = ['T201', 'S101']
'snodas/migrations/*' = ['RUF012']
[tool.ruff.lint.isort]
lines-between-types = 1
[tool.mypy]
ignore_missing_imports = true
scripts_are_modules = true
exclude = [
'^snodas/settings/.*\.py$',
]