-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpyproject.toml
77 lines (65 loc) · 2.09 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
[project]
name = "posttroll"
dynamic = ["version"]
description = "Messaging system for pytroll"
authors = [
{ name = "The Pytroll Team", email = "[email protected]" }
]
dependencies = [
"pyzmq",
"netifaces-plus",
"donfig",
]
readme = "README.md"
requires-python = ">=3.10"
license = { text = "GPLv3" }
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Communications"
]
[project.scripts]
pytroll-logger = "posttroll.logger:run"
posttroll-generate-keys = "posttroll.backends.zmq:generate_keys"
[project.urls]
Homepage = "https://github.com/pytroll/posttroll"
"Bug Tracker" = "https://github.com/pytroll/posttroll/issues"
Documentation = "https://posttroll.readthedocs.io/"
"Source Code" = "https://github.com/pytroll/posttroll"
Organization = "https://pytroll.github.io/"
Slack = "https://pytroll.slack.com/"
"Release Notes" = "https://github.com/pytroll/posttroll/blob/main/CHANGELOG.md"
[build-system]
requires = ["hatchling", "hatch-vcs"]
build-backend = "hatchling.build"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.wheel]
packages = ["posttroll"]
[tool.hatch.version]
source = "vcs"
[tool.hatch.build.hooks.vcs]
version-file = "posttroll/version.py"
[tool.isort]
sections = ["FUTURE", "STDLIB", "THIRDPARTY", "FIRSTPARTY", "LOCALFOLDER"]
skip_gitignore = true
default_section = "THIRDPARTY"
known_first_party = "posttroll"
line_length = 120
[tool.ruff]
# See https://docs.astral.sh/ruff/rules/
# In the future, add "B", "S", "N"
lint.select = ["A", "D", "E", "W", "F", "I", "PT", "TID", "C90", "Q", "T10", "T20"]
line-length = 120
exclude = ["versioneer.py",
"posttroll/version.py",
"doc"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.lint.mccabe]
# Unlike Flake8, default to a complexity level of 10.
max-complexity = 10