-
Notifications
You must be signed in to change notification settings - Fork 27
/
pyproject.toml
99 lines (86 loc) · 2.65 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
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
[tool.ruff]
target-version = "py311"
fix = true
line-length = 79
[tool.ruff.lint]
select = ["A", "ARG", "ASYNC", "B", "BLE", "C", "C4", "E", "F", "FA", "I", "INT", "N", "PIE", "PTH", "RUF", "SIM", "TCH", "TD", "W", "YTT"]
ignore = ["B008", "B904", "B905", "TD002", "TD003", "TD004", "RUF012"]
[tool.ruff.lint.isort]
known-first-party = ["psychrochart"]
order-by-type = false
[tool.mypy]
plugins = ["pydantic.mypy"]
follow_imports = "silent"
warn_redundant_casts = true
warn_unused_ignores = true
disallow_any_generics = true
check_untyped_defs = true
no_implicit_reexport = true
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
[tool.coverage.run]
branch = true
source = ["psychrochart"]
relative_files = true
[tool.coverage.paths]
source = ["psychrochart/"]
[tool.coverage.report]
fail_under = 75
skip_covered = true
show_missing = true
exclude_lines = [
"pragma: no cover",
"if __name__ == \"__main__\":",
"raise NotImplementedError",
]
[tool.pytest.ini_options]
minversion = 6.0
testpaths = "tests"
addopts = "-vv -s --cov psychrochart --cov-report term --cov-report html"
log_level = "INFO"
log_cli = true
log_format = "%(asctime)s %(levelname)s: (%(filename)s:%(lineno)s): %(message)s"
log_date_format = "%Y-%m-%d %H:%M:%S"
[tool.poetry]
name = "psychrochart"
version = "0.11.1"
description = "A python 3 library to make psychrometric charts and overlay information on them"
authors = ["Eugenio Panadero <[email protected]>"]
packages = [
{ include = "psychrochart" }
]
license = "MIT"
readme = "README.md"
repository = "https://github.com/azogue/psychrochart"
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Education",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Visualization",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
]
keywords=["psychrometrics", "moist", "humid air", "climate control", "matplotlib"]
include = ["CHANGELOG.md"]
[tool.poetry.dependencies]
python = ">=3.10,<3.14"
matplotlib = ">=3.7"
psychrolib = ">=2.5"
pydantic = ">=2.3.0"
python-slugify = ">=8.0.1"
[tool.poetry.group.dev.dependencies]
pre-commit = ">=2.10.0"
pytest = "*"
pytest-cov = "*"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"