-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (89 loc) · 1.99 KB
/
pyproject.toml
File metadata and controls
96 lines (89 loc) · 1.99 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
[build-system]
build-backend = "setuptools.build_meta"
requires = [ "setuptools>=64", "setuptools-scm>=8" ]
[project]
name = "pyiem"
description = "Collection of things that may help with processing weather data."
readme = "README.md"
keywords = [ "meteorology" ]
license = "MIT"
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
dynamic = [ "version" ]
dependencies = [
"affine",
"defusedxml",
"docutils",
"geopandas",
"httpx",
"jinja2",
"matplotlib>=3.5",
"metar",
"metpy",
"netcdf4",
"numpy",
"pandas",
"paste",
"pillow",
"psycopg",
"pyarrow",
"pydantic",
"pygrib",
"pymemcache",
"pyogrio",
"pyproj",
"rasterio",
"rasterstats",
"scipy",
"shapely",
# since psycopg 3 support requires it
"sqlalchemy>=2",
"xarray",
]
urls.homepage = "https://github.com/akrherz/pyIEM"
[tool.setuptools]
include-package-data = true
package-dir."" = "src"
packages.find.where = [ "src" ]
[tool.setuptools_scm]
version_scheme = "post-release"
[tool.ruff]
target-version = "py311"
line-length = 79
lint.select = [
"B", # bugbear
# "D", # pydocstyle
"E", # errors
"ERA", # commented out code
"F", # format
"I", # imports
"PERF", # performance
"PLR0203", # staticmethod
"RET", # return
"T", # types
]
lint.ignore = [
"PERF203", # try,catch in loop
]
lint.pydocstyle.convention = "numpy"
lint.preview = true
[tool.flake8]
ignore = [ "W503", "E203" ]
[tool.pytest]
ini_options.log_level = "INFO"
ini_options.markers = [
"mpl_image_compare",
]
ini_options.filterwarnings = [
"error::pandas.errors.Pandas4Warning",
"ignore:numpy.ndarray size changed:RuntimeWarning",
"ignore:'cgi' is deprecated and slated for removal:DeprecationWarning",
]
[tool.pycodestyle]
ignore = [ "W503", "E203" ]