-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
44 lines (39 loc) · 913 Bytes
/
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
# Copyright (C) 2024 A. Iooss
# SPDX-License-Identifier: CC0-1.0
[build-system]
requires = ["setuptools>=42", "wheel", "setuptools_scm[toml]>=3.4"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "galene_stream/version.py"
[tool.interrogate]
ignore-private = true
fail-under = 90
exclude = ["setup.py", "build", "galene_stream/version.py"]
verbose = 2
[tool.check-manifest]
ignore = ["galene_stream/version.py"]
[tool.tox]
legacy_tox_ini = """
[tox]
envlist =
linters
tests
[testenv]
sitepackages = true
[testenv:tests]
changedir = tests
deps = pytest
commands = pytest --basetemp="{envtmpdir}" {posargs}
[testenv:linters]
skip_install = true
deps =
black
isort
interrogate
check-manifest
commands =
black --check --diff galene_stream tests setup.py
isort --check-only --diff --profile black galene_stream tests
interrogate
check-manifest
"""