-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathpyproject.toml
More file actions
119 lines (107 loc) · 3 KB
/
Copy pathpyproject.toml
File metadata and controls
119 lines (107 loc) · 3 KB
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
[build-system]
build-backend = "hatchling.build"
requires = [ "hatchling>=1.10" ]
[project]
name = "papis-zotero"
version = "0.4.0"
description = "Interact with Zotero using papis"
readme = "README.rst"
keywords = [ "bibtex", "biliography", "cli", "management", "papis", "zotero" ]
license = { text = "GPL-3.0-or-later" }
maintainers = [ { name = "Alejandro Gallo", email = "aamsgallo@gmail.com" } ]
authors = [ { name = "Alejandro Gallo", email = "aamsgallo@gmail.com" } ]
requires-python = ">=3.10"
classifiers = [
"Environment :: Console",
"Environment :: Console :: Curses",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: MacOS",
"Operating System :: Microsoft",
"Operating System :: OS Independent",
"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",
"Programming Language :: Python :: 3.14",
"Topic :: Utilities",
]
dependencies = [ "papis>=0.16,<0.17" ]
[project.optional-dependencies]
develop = [
"mypy>=0.7",
"pytest",
"pytest-cov",
"ruff",
"types-pyyaml",
]
[project.urls]
Repository = "https://github.com/papis/papis-zotero"
[project.entry-points."papis.command"]
zotero = "papis_zotero:main"
[tool.pytest.ini_options]
addopts = [
"--doctest-modules",
"--cov=papis_zotero",
]
norecursedirs = ".git doc build dist"
python_files = "*.py"
markers = [
"config_setup: setup for tmp_config",
"library_setup: setup for tmp_library",
]
[tool.ruff]
preview = true
line-length = 88
[tool.ruff.lint]
select = [
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"E", # pycodestyle
"F", # pyflakes
"G", # flake8-logging-format
"I", # flake8-isort
"N", # pep8-naming
"PGH", # pygrep-hooks
"PL", # pylint
"Q", # flake8-quotes
"RUF", # ruff
"TC", # flake8-type-checking
"UP", # pyupgrade
"W", # pycodestyle
]
ignore = [
# https://docs.astral.sh/ruff/rules/#rules
"import-outside-top-level",
"magic-value-comparison",
"non-empty-init-module",
]
task-tags = ["spell"]
[tool.ruff.lint.pycodestyle]
ignore-overlong-task-comments = true
[tool.ruff.lint.flake8-quotes]
docstring-quotes = "double"
inline-quotes = "double"
multiline-quotes = "double"
[tool.ruff.lint.isort]
combine-as-imports = true
known-first-party = ["papis"]
known-local-folder = ["papis_zotero"]
required-imports = ["from __future__ import annotations"]
[tool.mypy]
python_version = "3.10"
strict = true
show_column_numbers = true
hide_error_codes = false
pretty = true
warn_unused_ignores = true
[tool.typos.default]
extend-ignore-re = [
"(?Rm)^.*#\\s*spell:\\s*disable$"
]