-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
130 lines (123 loc) · 3.03 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
[build-system]
build-backend = "hatchling.build"
requires = [
"hatchling>=1.10",
]
[project]
name = "papis-abbrev"
version = "0.2.0"
description = "Papis plugin that abbreviates journals according to LWTA"
readme = "README.rst"
keywords = [
"bibliography",
]
license = { text = "MIT" }
maintainers = [
{ name = "Alexandru Fikl", email = "alexfikl@gmail.com" },
]
authors = [
{ name = "Alexandru Fikl", email = "alexfikl@gmail.com" },
]
requires-python = ">=3.10"
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Utilities",
]
dependencies = [
"papis>=0.14",
"pyiso4>=0.1.6",
]
optional-dependencies.dev = [
"mypy",
"pytest",
"reuse",
"ruff",
"typos",
"uv",
]
optional-dependencies.docs = [
"sphinx",
"sphinx-book-theme",
"sphinx-click",
]
urls.Repository = "https://github.com/alexfikl/papis-abbrev"
entry-points."papis.command".abbrev = "papis_abbrev.command:cli"
[tool.hatch.build.targets.sdist]
exclude = [
".github",
".ci",
"docs/_build",
]
[tool.hatch.build.targets.wheel]
packages = [
"src/papis_abbrev",
]
[tool.ruff]
target-version = "py39"
line-length = 88
preview = true
lint.select = [
"A", # flake8-builtins
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"E", # flake8
"F", # flake8
"FBT", # flake8-boolean-trap
"G", # flake8-logging-format
"I", # flake8-isort
"ISC", # flake8-implicit-str-concat
"N", # pep8-naming
"PL", # pylint
"Q", # flake8-quotes
"RUF", # ruff
"S", # flake8-bandit
"SIM", # flake8-simplify
"UP", # pyupgrade
"W", # flake8
]
lint.ignore = [
"E402", # module-import-not-at-top-of-file
"FBT001", # boolean
"ISC001", # single-line-implicit-string-concatenation
"PLC0415", # import-outside-top-level
"PLR0911", # too-many-return-statements
"PLR0912", # too-many-branches
"PLR0913", # too-many-arguments
"PLR0914", # too-many-locals
"PLR0915", # too-many-statements
"PLR0917", # too-many-positional
"PLR2004", # magic-value-comparison
"S101", # assert
"S102", # exec-builtin
"S311",
"UP037", # quoted-annotation
]
lint.flake8-quotes.docstring-quotes = "double"
lint.flake8-quotes.inline-quotes = "double"
lint.flake8-quotes.multiline-quotes = "double"
lint.isort.known-first-party = [
"papis",
"papis_abbrev",
]
[tool.mypy]
strict = true
python_version = "3.10"
hide_error_codes = false
warn_unused_ignores = true
[[tool.mypy.overrides]]
module = [
"pyiso4.*",
]
ignore_missing_imports = true