-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
69 lines (57 loc) · 1.39 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
[project]
version = "0.1.3"
name = "obscure"
description = "Create reversable transformations to obscure sequental ID numbers."
readme = "README.md"
#license = { file = "LICENSE.rst" }
maintainers = [{name = "Clinton James", email = "[email protected]"},]
requires-python = ">=3.7"
[project.urls]
Homepage = "https://github.com/jidn/obscure"
Documentation = "https://github.com/jidn/obscure#readme"
Issues = "https://github.com/jidn/obscure/issues"
Source = "https://github.com/jidn/obscure"
[build-system]
requires = ["setuptools>=61.0", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[tool.pytest.ini_options]
# filterwarnings = ["error"]
addopts = "-rfEX --strict-markers --doctest-modules"
minversion = "6.0"
testpaths = ["src", "tests"]
[tool.coverage.run]
source = ["src"]
[tool.coverage.paths]
source = ["src", "tests"]
[tool.ruff]
ignore-init-module-imports = true
[tool.ruff.pydocstyle]
convention = "google"
# [tool.setuptools_scm]
[tool.tox]
legacy_tox_ini = """
[tox]
env_list = lint, type, py{38,310,311}
isolated_build = true
[testenv]
description = run pytest
usedevelop=True
deps=
pytest
coverage
commands=
coverage erase
py.test tests {posargs:tests}
[testenv:lint]
description = run linters
skip_install = true
deps =
ruff
commands = ruff {posargs:.}
[testenv:type]
description = run type checks
deps =
mypy>=0.991
commands =
mypy {posargs:src tests}
"""