-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathpyproject.toml
79 lines (68 loc) · 1.83 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
[tool.poetry]
name = "zotero2readwise"
version = "0.4.5"
description = "Export your Zotero annotations and notes to Readwise"
readme = "README.md"
authors = ["ealizadeh <[email protected]>"]
license = "MIT"
homepage = "https://github.com/e-alizadeh/Zotero2Readwise"
repository = "https://github.com/e-alizadeh/Zotero2Readwise"
documentation = "https://github.com/e-alizadeh/Zotero2Readwise"
keywords = [
"Zotero",
"Readwise",
]
classifiers = [
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Utilities",
"Development Status :: 3 - Alpha"
]
packages = [
{ include = "zotero2readwise"}
]
[tool.semantic_release]
version_variables = [
"zotero2readwise/__init__.py:__version__",
"pyproject.toml:version"
]
[tool.semantic_release.remote.token]
env = "GH_TOKEN" # default env name containing the GitHub Token
[tool.poetry.dependencies]
python = "^3.8"
Pyzotero = "^1.4.26"
requests = "^2.26.0"
[tool.poetry.group.dev.dependencies]
ipython = "^7.32.0"
pre-commit = "^2.16.0"
ipdb = "^0.13.9"
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.black]
line-length = 100
[tool.mypy]
python_version = "3.8"
[tool.ruff]
target-version = "py38"
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"C", # flake8-comprehensions
"B", # flake8-bugbear
"UP", # pyupgrade
]
ignore = [
"E501", # line too long, handled by black
"B008", # do not perform function calls in argument defaults
"C901", # too complex
]
fix = true
[tool.ruff.isort]
known-first-party = ["zotero2readwise"]
[tool.ruff.pydocstyle]
convention="google"