-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
102 lines (94 loc) · 2.11 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
98
99
100
101
102
[project]
name = "moelib"
version = "0.1.0"
description = ""
readme = "README.md"
requires-python = ">=3.9"
dependencies = []
authors = [{ name = "Nyakku Shigure", email = "sigure.qaq@gmail.com" }]
keywords = []
license = { text = "MIT" }
classifiers = [
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Typing :: Typed",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: Implementation :: CPython",
]
[project.urls]
Homepage = "https://github.com/ShigureLab/moelib"
Documentation = "https://github.com/ShigureLab/moelib"
Repository = "https://github.com/ShigureLab/moelib"
Issues = "https://github.com/ShigureLab/moelib/issues"
[project.scripts]
moelib = "moelib.__main__:main"
[dependency-groups]
dev = [
"pyright>=1.1.386",
"ruff>=0.7.1",
"pytest>=8.3.3",
"pytest-rerunfailures>=14.0",
]
[tool.pyright]
include = ["src/moelib", "tests"]
pythonVersion = "3.9"
typeCheckingMode = "strict"
[tool.ruff]
line-length = 120
target-version = "py39"
[tool.ruff.lint]
select = [
# Pyflakes
"F",
# Pycodestyle
"E",
"W",
# Isort
"I",
# Comprehensions
"C4",
# Debugger
"T100",
# Pyupgrade
"UP",
# Flake8-pyi
"PYI",
# Bugbear
"B",
# Pylint
"PLE",
# Flake8-simplify
"SIM101",
# Flake8-use-pathlib
"PTH",
# Pygrep-hooks
"PGH004",
# Flake8-type-checking
"TCH",
# Flake8-raise
"RSE",
# Refurb
"FURB",
# Flake8-future-annotations
"FA",
# Yesqa
"RUF100",
]
ignore = [
"E501", # line too long, duplicate with ruff fmt
"F401", # imported but unused, duplicate with pyright
"F841", # local variable is assigned to but never used, duplicate with pyright
]
[tool.ruff.lint.isort]
required-imports = ["from __future__ import annotations"]
known-first-party = ["moelib"]
combine-as-imports = true
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"