File: pyproject.toml

package info (click to toggle)
trollimage 1.27.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,224 kB
  • sloc: python: 7,072; makefile: 114
file content (44 lines) | stat: -rw-r--r-- 1,424 bytes parent folder | download
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
[build-system]
requires = [
    "wheel",
    "numpy>=2.0.0,<3.0",
    "setuptools>=42",
    "versioneer[toml]",
    "Cython>=3.1.0"
]
build-backend = "setuptools.build_meta"

[tool.coverage.run]
relative_files = true
plugins = ["Cython.Coverage"]
omit = ["trollimage/version.py", "versioneer.py"]

[tool.pytest.ini_options]
minversion = "6.0"
addopts = ["-ra", "--showlocals", "--strict-markers", "--strict-config"]
xfail_strict = true
filterwarnings = [
    "error",
    "ignore::rasterio.errors.NotGeoreferencedWarning",
    # remove when fixed by xarray
    "ignore:__array_wrap__ must accept context and return_scalar arguments:DeprecationWarning:numpy",
    # dateutil needs a new release
    # https://github.com/dateutil/dateutil/issues/1314
    'ignore:datetime.datetime.utcfromtimestamp\(\) is deprecated and scheduled for removal:DeprecationWarning:dateutil',
    # updates incoming in pillow that remove this warning for our use cases
    # https://github.com/python-pillow/Pillow/pull/9063
    "ignore:'mode' parameter is deprecated",
    # dask deprecated the map_blocks token= kwarg but it is being reverted
    "ignore:The `token=` keyword to `map_blocks` has been moved to:FutureWarning",
]
log_cli_level = "info"
testpaths = [
    "trollimage/tests",
]

[tool.versioneer]
VCS = "git"
style = "pep440"
versionfile_source = "trollimage/version.py"
versionfile_build = "trollimage/version.py"
tag_prefix = "v"