-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
49 lines (39 loc) · 1.1 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]
build-backend = "setuptools.build_meta"
requires = ["setuptools>=61", "setuptools_scm[toml]>=7"]
[project]
name = "bscal"
readme = "README.md"
description = "Calendar for Bikram Sambat"
license = { text = "MIT" }
requires-python = ">=3.8"
classifiers = ["Programming Language :: Python :: 3"]
dynamic = ["version"]
[project.scripts]
bscal = "bscal:cal"
bsdate = "bscal:bsdate"
[project.optional-dependencies]
tests = ["pytest", "hypothesis"]
[tool.setuptools]
license-files = ["LICENSE"]
[tool.setuptools_scm]
[tool.mypy]
check_untyped_defs = true
files = ["bscal.py"]
strict = true
[tool.ruff]
ignore = ["ISC001", "S101"]
select = [
"F", "E", "W", "C90", "I", "N", "UP", "YTT", "ASYNC", "S", "BLE", "B", "A", "C4", "T10",
"EXE", "ISC", "ICN", "G", "INP", "PIE", "PYI", "PT", "Q", "RSE", "RET",
"SLOT", "SIM", "TID", "TCH", "ARG", "PGH", "PLC", "PLE", "PLR", "PLW", "TRY",
"FLY", "PERF101", "RUF",
]
show-source = true
show-fixes = true
[tool.ruff.format]
preview = true
[tool.ruff.flake8-type-checking]
strict = true
[tool.ruff.flake8-unused-arguments]
ignore-variadic-names = true