-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
107 lines (89 loc) · 2.13 KB
/
pyproject.toml
File metadata and controls
107 lines (89 loc) · 2.13 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
97
98
99
100
101
102
103
104
105
106
107
[project]
name = "trajpy"
version = "1.4.4"
description = "Trajpy - empowering feature engineering for trajectory analysis across domains."
authors = [
{ name = "Maurício Moreira Soares", email = "trajpy@protonmail.ch"}
]
readme = "README.md"
requires-python = ">=3.11,<4.0"
license = "MIT"
keywords = [
"python",
"trajectory",
"time-series",
"repeated-mesurements"
]
dependencies = [
"numpy>=1.14.3",
"scipy>=1.7.1",
"PyYAML>=5.3.1"
]
[project.urls]
homepage = "https://github.com/ocbe-uio/trajpy"
[tool.poetry]
package-mode = true
[dependency-groups]
dev= [
"black>=25.1.0",
"bandit>=1.7.10",
"pyright>=1.1.404",
"ruff>=0.12.10",
"ruff-lsp>=0.0.62",
"ipython>=9.4.0",
"pytest>=9.0.0",
"pytest-cov>=6.0.0",
"setuptools>=80.0.0",
"pytest-stub>=1.1.0",
]
docs = [
"sphinx>=7.0.0",
"sphinx-rtd-theme>=2.0.0",
"sphinx-autodoc-typehints>=1.25.0",
"nbsphinx>=0.9.0"
]
[project.optional-dependencies]
docs = [
"sphinx>=7.0.0",
"sphinx-rtd-theme>=2.0.0",
"sphinx-autodoc-typehints>=1.25.0",
"nbsphinx>=0.9.0",
]
[[tool.poetry.source]]
name = "PyPI"
priority = "primary"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
line-length = 120
target-version = "py310"
exclude = []
[tool.ruff.lint]
select = [
"E", # pycodestyle: style errors (spacing, indentation, blank lines, etc.)
"F", # Pyflakes: real errors like undefined/unused names and imports
"I", # isort: import sorting and grouping
]
ignore = ["ARG002", "E501"] # Allow unused parameters in handlers (e.g. `request` in views)
[tool.black]
line-length = 120
[tool.pyright]
typeCheckingMode = "off"
reportMissingImports = false
reportMissingTypeStubs = false
useLibraryCodeForTypes = true
include = ["trajpy"]
[tool.bandit]
exclude_dirs = ["tests"]
[tool.pytest.ini_options]
addopts = "--ignore=tests/test_local_date_utils --cov --cov-report term-missing"
[tool.coverage.run]
source = ["trajpy"]
omit = ["tests/*"]
[tool.setuptools.package-data]
"trajpy" = []
[tool.setuptools.packages.find]
where = ["."]
include = ["trajpy*"]
exclude = ["tests"]