Skip to content

Commit 56cc1cf

Browse files
committed
Pinned wemake-python-styleguide to 1.0 as per PR request
1 parent 8ca005d commit 56cc1cf

File tree

2 files changed

+47
-45
lines changed

2 files changed

+47
-45
lines changed

poetry.lock

Lines changed: 25 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
[build-system]
22
build-backend = "poetry.core.masonry.api"
3-
requires = [ "poetry-core>=2" ]
3+
requires = ["poetry-core>=2"]
44

55
[tool.poetry]
66
name = "returns"
77
version = "0.25.0"
88
description = "Make your functions return something meaningful, typed, and safe!"
99
license = "BSD-3-Clause"
1010

11-
authors = [
12-
"sobolevn <mail@sobolevn.me>",
13-
]
11+
authors = ["sobolevn <mail@sobolevn.me>"]
1412

1513
readme = "README.md"
1614

@@ -62,7 +60,7 @@ trio = ">=0.28,<0.31"
6260
attrs = ">=24.2,<26.0"
6361
httpx = "^0.28"
6462

65-
wemake-python-styleguide = "^1.0"
63+
wemake-python-styleguide = "1.0"
6664
codespell = "^2.2"
6765
slotscheck = "^0.19"
6866
ruff = "^0.11"
@@ -87,8 +85,8 @@ myst-parser = "^4.0"
8785
tomli = "^2.0"
8886

8987
[tool.poetry.extras]
90-
compatible-mypy = [ "mypy" ]
91-
check-laws = [ "pytest", "hypothesis" ]
88+
compatible-mypy = ["mypy"]
89+
check-laws = ["pytest", "hypothesis"]
9290

9391
[tool.ruff]
9492
# Ruff config: https://docs.astral.sh/ruff/settings
@@ -159,16 +157,16 @@ lint.ignore = [
159157
"PLR6301", # do not require classmethod / staticmethod when self not used
160158
"TRY003", # long exception messages from `tryceratops`
161159
]
162-
lint.per-file-ignores."*.pyi" = [ "D103" ]
163-
lint.per-file-ignores."returns/context/__init__.py" = [ "F401", "PLC0414" ]
164-
lint.per-file-ignores."returns/contrib/mypy/*.py" = [ "S101" ]
165-
lint.per-file-ignores."returns/contrib/mypy/_typeops/visitor.py" = [ "S101" ]
166-
lint.per-file-ignores."returns/contrib/pytest/__init__.py" = [ "F401", "PLC0414" ]
167-
lint.per-file-ignores."returns/interfaces/*.py" = [ "S101" ]
168-
lint.per-file-ignores."returns/methods/__init__.py" = [ "F401", "PLC0414" ]
169-
lint.per-file-ignores."returns/pipeline.py" = [ "F401", "PLC0414" ]
170-
lint.per-file-ignores."returns/pointfree/__init__.py" = [ "F401", "PLC0414" ]
171-
lint.per-file-ignores."returns/primitives/asserts.py" = [ "S101" ]
160+
lint.per-file-ignores."*.pyi" = ["D103"]
161+
lint.per-file-ignores."returns/context/__init__.py" = ["F401", "PLC0414"]
162+
lint.per-file-ignores."returns/contrib/mypy/*.py" = ["S101"]
163+
lint.per-file-ignores."returns/contrib/mypy/_typeops/visitor.py" = ["S101"]
164+
lint.per-file-ignores."returns/contrib/pytest/__init__.py" = ["F401", "PLC0414"]
165+
lint.per-file-ignores."returns/interfaces/*.py" = ["S101"]
166+
lint.per-file-ignores."returns/methods/__init__.py" = ["F401", "PLC0414"]
167+
lint.per-file-ignores."returns/pipeline.py" = ["F401", "PLC0414"]
168+
lint.per-file-ignores."returns/pointfree/__init__.py" = ["F401", "PLC0414"]
169+
lint.per-file-ignores."returns/primitives/asserts.py" = ["S101"]
172170
lint.per-file-ignores."tests/*.py" = [
173171
"RUF029", # allow async functions to not use `await`
174172
"S101", # asserts
@@ -177,18 +175,20 @@ lint.per-file-ignores."tests/*.py" = [
177175
"S603", # do not require `shell=True`
178176
"S607", # partial executable paths
179177
]
180-
lint.per-file-ignores."tests/test_examples/*" = [ "D102" ]
178+
lint.per-file-ignores."tests/test_examples/*" = ["D102"]
181179
lint.per-file-ignores."tests/test_examples/test_maybe/test_maybe_pattern_matching.py" = [
182180
"D101",
183181
"D103",
184182
"F811",
185183
]
186-
lint.per-file-ignores."tests/test_examples/test_result/test_result_pattern_matching.py" = [ "D103" ]
187-
lint.per-file-ignores."tests/test_pattern_matching.py" = [ "S101" ]
188-
lint.external = [ "WPS" ]
184+
lint.per-file-ignores."tests/test_examples/test_result/test_result_pattern_matching.py" = [
185+
"D103",
186+
]
187+
lint.per-file-ignores."tests/test_pattern_matching.py" = ["S101"]
188+
lint.external = ["WPS"]
189189
lint.flake8-quotes.inline-quotes = "single"
190190
lint.mccabe.max-complexity = 6
191-
lint.pep8-naming.staticmethod-decorators = [ "law_definition", "staticmethod" ]
191+
lint.pep8-naming.staticmethod-decorators = ["law_definition", "staticmethod"]
192192
lint.pydocstyle.convention = "google"
193193

194194
[tool.slotscheck]

0 commit comments

Comments
 (0)