-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
111 lines (104 loc) · 1.82 KB
/
Copy pathpyproject.toml
File metadata and controls
111 lines (104 loc) · 1.82 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
108
109
110
111
[build-system]
requires = ["setuptools>=64", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "pyrotun"
description = "Python code for Råtun 40"
authors = [
{ name = "Håvard Berland", email = "berland@pvv.ntnu.no" }
]
urls = { Homepage = "https://github.com/berland/pyrotun" }
license = { text = "Private" }
dynamic = ["version"]
dependencies = [
"activereader",
"aiocron<2", # aiocron 2.1 støtter ikke sekunder
"aiofiles",
"aiohttp",
"aioinflux",
"astral",
"asyncio",
"aiomqtt",
"defusedxml",
"geopy",
"gpxpy",
"fastapi",
# habapp er no-go for elvcat
"holidays",
"isodate",
"lxml",
"metpy",
"networkx",
"numpy",
"paho-mqtt",
"pandas",
"pvlib",
"pygeohash",
"pylunar",
"python-dotenv",
"python-openhab",
"pytibber",
"pyyaml",
"requests",
"scikit-learn",
"skodaconnect",
"smappy",
"uvicorn",
"watchfiles",
]
[project.optional-dependencies]
tests = [
"pytest",
"pytest-asyncio",
"rstcheck",
]
[tool.setuptools]
include-package-data = false
[tool.setuptools.packages.find]
include = ["pyrotun*"]
[tool.setuptools_scm]
version_file = "pyrotun/version.py"
[tool.ruff.lint]
select = [
"A",
"AIR",
"B", # flake-8-bugbear
"BLE",
"DJ",
"E",
"F", # pyflakes
"FA",
"FAST",
"FIX",
"FLY",
"FURB",
"I", # isort
"INT",
"ISC",
"LOG",
"NPY",
"PIE",
"PL", # pylint
"PLC",
"PLE",
"PLW",
"PT",
"PYI",
"Q",
"RSE",
"SIM", # flake-8-simplify
"SLOT",
"TC",
"TD",
"TID",
"W", # pycodestyle
"YTT"
]
ignore = [
"PLR2004", # magic value used
"PLR0912", # too many branches
"PLR0913", # too many arguments in function def
"PLR0915", # too many statements
"PLW0602", # global statement
"PLW0603", # global statement
]