-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
49 lines (44 loc) · 1.42 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
[build-system]
requires = ["setuptools", "wheel"]
build-backend = "setuptools.build_meta"
[project]
requires-python = ">=3"
name = "<NAME>"
version = "0.0.0"
description = "<DESCRIPTION>"
readme = "readme.md"
license = { file = "license.txt" }
authors = [{ name = "Yifei Sun", email = "[email protected]" }]
classifiers = ["Programming Language :: Python"]
dependencies = []
[project.urls]
Documentation = "https://github.com/stepbrobd/<NAME>"
Repository = "https://github.com/stepbrobd/<NAME>"
Issues = "https://github.com/stepbrobd/<NAME>/issues"
[project.scripts]
<NAME> = "<NAME>.main:main"
[tool.ruff]
select = [
"E", # pycodestyle error
"F", # pyflakes
"I", # isort
"W", # pycodestyle warning
"UP", # pyupgrade
"S", # flake8-bandit
"B", # flake8-bugbear
"ANN", # flake8-annotations
]
ignore = [
"E501", # line too long
"S101", # use of `assert` detected"
"S113", # probable use of requests call without timeout
"B008", # do not perform function call in argument defaults
"ANN001", # missing type annotation for function argument
"ANN002", # missing type annotation for `*args`
"ANN003", # missing type annotation for `**kwargs`
"ANN101", # missing type annotation for self in method
"ANN102", # missing type annotation for cls in classmethod
"ANN401", # dynamically typed expressions are disallowed
]
[tool.ruff.isort]
known-first-party = ["<NAME>"]