-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
75 lines (66 loc) · 1.89 KB
/
pyproject.toml
File metadata and controls
75 lines (66 loc) · 1.89 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
[project]
name = "db-eplusout-reader"
version = "0.4.0"
description = "A tool to fetch results from EnergyPlus output files"
authors = [
{ name = "Vojtech Panek", email = "vojtech.panek@designbuilder.co.uk" },
{ name = "Bartłomiej Tokarzewski", email = "bartlomiej.tokarzewski@designbuilder.co.uk" },
]
readme = "README.md"
license = { text = "MIT" }
requires-python = ">=3.9"
dependencies = []
[dependency-groups]
dev = [
"ruff>=0.9.0",
"pylint>=3.0.3",
"pre-commit>=3.6.1",
"pytest>=8.0.0",
"pytest-cov>=4.1.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["db_eplusout_reader"]
[tool.ruff]
line-length = 96
target-version = "py39"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # Pyflakes
"I", # isort
"C90", # mccabe complexity
]
ignore = ["E203"]
[tool.ruff.lint.mccabe]
max-complexity = 10
[tool.ruff.lint.isort]
known-first-party = ["db_eplusout_reader"]
[tool.pylint.main]
ignore-patterns = ["test_.*\\.py", "conftest\\.py"]
[tool.pylint."messages control"]
disable = [
"C0114", # missing-module-docstring
"C0115", # missing-class-docstring
"C0116", # missing-function-docstring
"C0200", # consider-using-enumerate
"C0209", # consider-using-f-string
"C0301", # line-too-long (handled by ruff)
"R0903", # too-few-public-methods
"R0913", # too-many-arguments
"R0917", # too-many-positional-arguments
"R1704", # redefined-argument-from-local
"R1720", # no-else-raise
"R1721", # unnecessary-comprehension
"R1725", # super-with-arguments
"R1737", # use-yield-from
"W0108", # unnecessary-lambda
"W0212", # protected-access
"W0612", # unused-variable
"W0621", # redefined-outer-name (common in pytest fixtures)
"W0707", # raise-missing-from
"W1514", # unspecified-encoding
]