-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathpyproject.toml
More file actions
97 lines (87 loc) · 2.16 KB
/
pyproject.toml
File metadata and controls
97 lines (87 loc) · 2.16 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
[tool.poetry]
name = "churchtools-api"
version = "2.1.0"
description = "A python wrapper for use with ChurchToolsAPI"
authors = ["bensteUEM", "kolibri52", "fschrempf"]
homepage = "https://github.com/bensteUEM/ChurchToolsAPI"
license = "CC-BY-SA"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.10"
python-docx = "^0.8.11"
requests = "^2.31.0"
pytz = "^2024.2"
tzlocal = "^5.2"
ratelimit = "^2.2.1"
[tool.poetry.group.dev.dependencies]
poetry = "^2.0.0"
tomli_w = "^1.0.0"
wheel = "^0.41.2"
setuptools = "^66.1.1"
autopep8 = "^2.0.4"
pytest = "^8.3.3"
pre-commit = "^3.8.0"
ruff = "^0.6.9"
ipykernel = "^6.29.5"
[tool.ruff]
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".ipynb_checkpoints",
".mypy_cache",
".nox",
".pants.d",
".pyenv",
".pytest_cache",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
".vscode",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"site-packages",
"venv",
]
line-length = 88
indent-width = 4
target-version = "py310"
output-format = "grouped"
[tool.ruff.lint]
select = ["ALL"]
ignore = [
"FIX002", # correctly formatted TODO items that have open Github issues
"COM812",
"ISC001", #disabled for formatter compatibility #TODO 102 - move to pyproject.py
"N802", #function lowercase -> breaking change #TODO 125 with release 2.0
"N803", #argument lowercase -> breaking change #TODO 125 with release 2.0
"N806", #variable name lowercase -> breaking change #TODO 125 with release 2.0
"FBT001", # boolean-type-hint-positional-argument
"FBT002", # boolean-default-value-positional-argument
]
fixable = ["ALL"]
unfixable = []
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
[tool.ruff.lint.per-file-ignores]
"tests/*.py" = ["S101"]
[tool.ruff.lint.pydocstyle]
convention = "google"
[tool.ruff.format]
quote-style = "double"
indent-style = "space"
skip-magic-trailing-comma = false
line-ending = "auto"
docstring-code-format = false
docstring-code-line-length = "dynamic"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"