forked from vgrem/Office365-REST-Python-Client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
67 lines (63 loc) · 2.06 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
[tool.ruff]
line-length = 121
# pyflakes, pycodestyle, isort
select = ["F", "E", "W", "I001"]
[tool.pylint]
max-line-length = 120
disable = [
"C0103",
"C0111",
"C0112", # empty-docstring
"C0114", # missing-module-docstring
"C0201", # consider-iterating-dictionary (Python 2)
"C0206", # consider-using-dict-items (Python 2)
"C0209", # consider-using f-string
"C0302", # too-many-lines
"C0303",
"C0415", # import-outside-toplevel
"E0307", # invalid-str-returned
"E0611", # no-name-in-module (!)
"E1102", # not-callable
"R0205", # useless-object-inheritance (Python 2)
"R0401", # cyclic-import (!)
"R0801", # duplicate-code
"R0902", # too-many-instance-attributes
"R0903", # too-few-public-methods
"R0903", # too-few-public-methods
"R0904", # too-many-public-methods
"R0912", # too-many-branches
"R0913", # too-many-arguments
"R0914", # too-many-locals
"R1705", # no-else-return
"R1710", # inconsistent-return-statements (!)
"R1711", # useless-return
"R1714", # consider-using-in
"R1720", # no-else-raise
"R1721", # unnecessary-comprehension
"R1725", # super-with-arguments
"R1732", #consider-using-with
"W0105", # pointless-string-statement
"W0106", # expression-not-assigned
"W0107", # unnecessary-pass
"W0201", # attribute-defined-outside-init
"W0212", # protected-access
"W0221", # arguments-differ
"W0237", # arguments-renamed
"W0246", # useless-parent-delegation
"W0404", # reimported
"W0611", # unused-imports # typing
"W0613", # unused-argument
"W0621", # redefine-outer-name
"W0707", # raise-missing-from
"W1113", # keyword-arg-before-vararg
"W3101", # missing-timeout
] # all codes: http://pylint-messages.wikidot.com/all-codes
[tool.pylint.FORMAT]
max-line-length = 121
ignore-long-lines = '^\s*# (<?https?://\S+>?|type: .+)$'
[tool.pylint.MASTER]
ignore-patterns = 'office365\todo\tasks\**'
[tool.ruff.per-file-ignores]
"tests/**/*.py" = ["F401"]
"examples/**/*.py" = ["F401"]
"office365/**/*.py" = ["F401"]