-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
97 lines (81 loc) · 2.15 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
[project]
name = "ccwriter"
description = "Writer for CloudCompare .bin format"
authors = [
{ name = "Marko Bausch", email = "60338487+mrkbac@users.noreply.github.com" }
]
dependencies = [
"numpy>=1.22",
]
readme = "README.md"
requires-python = ">= 3.8"
license = "MIT"
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
]
dynamic = ["version"]
[project.urls]
Source = "https://github.com/mkrbac/ccwriter"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.rye]
managed = true
dev-dependencies = [
"autopep8>=2.0.2",
]
[tool.hatch.version]
path = "src/ccwriter/__about__.py"
[tool.hatch.metadata]
allow-direct-references = true
[tool.autopep8]
aggressive = 3
recursive = true
max_line_length = 100
[tool.ruff]
line-length = 100
select = ["ALL"]
ignore = [
'ANN101', # missing-type-self
'ANN102', # missing-type-cls
'ANN204', # missing-type-cls
'C',
'D', # pydocstyle
'EM101',
'ERA001', # CommentedOutCode
'FIX002', # Line contains TODO
'INP', # flake8-no-pep420
'PD', # pandas-vet
'PLR',
'PLR0913', # Too many arguments to function call
'PT', # PyTest
'PTH',
'S', # flake8-bandit
'SIM',
'T20', # flake8-print
'TD', # Todo
'TRY003',
'UP007',
]
unfixable = [
'T20', # flake8-print
'ERA001', # CommentedOutCode
]
src = ['src']
target-version = 'py38'
[tool.ruff.flake8-annotations]
# Whether to suppress ANN000-level violations for arguments matching the "dummy" variable regex (like _).
suppress-dummy-args = true
# Whether to suppress ANN200-level violations for functions that meet either of the following criteria:
# - Contain no return statement.
# - Explicit return statement(s) all return None (explicitly or implicitly).
suppress-none-returning = true
[tool.ruff.pydocstyle]
convention = "google"