-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
107 lines (98 loc) · 3.69 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
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "basic-data-structure"
version = "0.0.6"
description = "Implementation of basic sata structures in Python"
authors = ["Mikhail Shagov <[email protected]>"]
readme = "README.md"
license = "MIT"
repository = "https://github.com/mishaga/basic_data_structure"
keywords = ["data structure", "data structures", "python data structures", "basic data structures"]
[tool.poetry.urls]
"Issues" = "https://github.com/mishaga/basic_data_structure/issues"
"Documentation" = "https://mishaga.github.io/basic_data_structure/"
[tool.poetry.dependencies]
python = "^3.9"
[tool.poetry.group.dev.dependencies]
wemake-python-styleguide = "^0.19.2"
flake8-pyproject = "^1.2.3"
pytest = "^8.2.0"
isort = "^5.13.2"
pdoc = "^14.4.0"
[tool.isort]
profile = "wemake"
[tool.flake8]
format = "wemake"
max-complexity = "10"
import-order-style = "pycharm"
min-coverage-percents = "80"
max-line-length = "120"
class_attributes_order = [
"field",
"meta_class",
"nested_class",
"magic_method",
"property_method",
"static_method",
"class_method",
"method",
"private_method",
]
ignore = ["D300", "D301", "D400", "RST214", "RST215", "RST201", "RST213", "RST301", "WPS112"]
per-file-ignores = [
"*/__init__.py: F401, WPS412",
]
# B001 – Do not use bare except
# B008 – Do not perform function calls in argument defaults
# D100 – Missing docstring in public module
# D103 – Missing docstring in public function
# D104 – Missing docstring in public package
# D300 – Use """triple double quotes"""
# D301 – Use r""" if any backslashes in a docstring
# D400 – First line should end with a period
# DAR101 – Missing parameter(s) in Docstring
# DAR201 – Missing "Returns" in Docstring
# DAR301 – Missing "Yields" in Docstring
# DAR401 – Missing exception in Raises section
# E722 – Do not use bare except
# F401 – Imported but unused
# E711 – comparison to None
# N805 – first argument of a method should be named 'self'
# RST214 – Inline literal start-string without end-string
# RST215 – Inline interpreted text or phrase reference start-string without end-string
# RST201 – Block quote ends without a blank line; unexpected unindent
# RST213 – Inline emphasis start-string without end-string
# RST301 – Unexpected indentation
# S101 – Use of assert detected
# WPS110 – Found wrong variable name
# WPS112 – Found private name pattern
# WPS115 – Found upper-case constant in a class
# WPS201 – Found module with too many imports
# WPS202 – Found too many module members
# WPS204 – Found overused expression
# WPS210 – Found too many local variables
# WPS213 – Found too many expressions
# WPS214 – Found too many methods
# WPS217 – Found too many await expressions
# WPS218 – Found too many `assert` statements
# WPS221 – Found line with high Jones Complexity
# WPS226 – Found string literal over-use
# WPS232 – Found module cognitive complexity that is too high
# WPS300 – Found local folder import
# WPS301 – Found dotted raw import
# WPS305 – Found f-string
# WPS306 – Found class without a base class
# WPS316 – Found context manager with too many assignments
# WPS318 – Found extra indentation
# WPS323 – Found % string formatting
# WPS404 – Found complex default value
# WPS412 – Found `__init__.py` module with logic
# WPS432 – Found magic number
# WPS442 – Found outer scope names shadowing
# WPS450 – Found protected object import
# WPS451 – Found positional-only argument
# WPS507 – Found useless `len()` compare
# WPS520 – Found compare with falsy constant
# Q001 – Single quote multiline found but double quotes preferred