Skip to content

Commit a173f4a

Browse files
committed
remove flake8
1 parent c2b0fe7 commit a173f4a

File tree

5 files changed

+1
-100
lines changed

5 files changed

+1
-100
lines changed

.github/workflows/analyze.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ jobs:
2727
- name: Test with Coverage 🔧
2828
run: |
2929
coverage run
30-
- name: Anaylze with Flake8 ❄️
31-
run: flake8 --output-file=flake8.txt --exit-zero
3230
- name: Anaylze with Ruff ⚡️
3331
run: ruff check --output-format json --output-file ruff.json --exit-zero .
3432
- name: Generate Coverage Reports 📋
@@ -40,7 +38,6 @@ jobs:
4038
with:
4139
name: reports
4240
path: |
43-
flake8.txt
4441
ruff.json
4542
coverage.xml
4643
sonarcloud:

.run/flake8 (HTML).run.xml

Lines changed: 0 additions & 24 deletions
This file was deleted.

pyproject.toml

Lines changed: 1 addition & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ classifiers = [
3434
'Programming Language :: Python :: 3.9',
3535
'Programming Language :: Python :: 3.10',
3636
'Programming Language :: Python :: 3.11',
37+
'Programming Language :: Python :: 3.12',
3738
'Programming Language :: Python',
3839
'Topic :: Games/Entertainment :: Role-Playing',
3940
'Topic :: Internet',
@@ -91,57 +92,6 @@ exclude_also = [
9192
]
9293

9394

94-
[tool.flake8]
95-
max-line-length = 120
96-
exclude = [
97-
"__pycache__",
98-
".git/",
99-
"build/",
100-
".idea/",
101-
"venv/",
102-
"docs/",
103-
"logs/",
104-
"tests/",
105-
]
106-
tee = true
107-
# Ignore unused imports in __INIT__.py files
108-
per-file-ignores = [
109-
"**/__init__.py:F401, F403",
110-
"server.py:D103,B008,TC002",
111-
"**/builders/*:D101",
112-
]
113-
count = true
114-
ignore = [
115-
# flake8-docstrings: Missing docstring in public module
116-
"D100",
117-
# flake8-docstrings: Missing docstring in public method
118-
"D102",
119-
# flake8-docstrings: Missing docstring in public package
120-
"D104",
121-
# flake8-docstrings: Missing docstring in magic method
122-
"D105",
123-
# flake8-docstrings: Missing docstring in __init__
124-
"D107",
125-
# flake8: line break before binary operator
126-
"W503",
127-
# flake8: line too long (121 > 120 characters)
128-
"E501",
129-
]
130-
rst-roles = [
131-
"class",
132-
"py:attr",
133-
"obj",
134-
"meth",
135-
"attr",
136-
"exc",
137-
]
138-
rst-directives = [
139-
"versionadded",
140-
"versionchanged",
141-
]
142-
literal-inline-quotes = "double"
143-
type-checking-pydantic-enabled = true
144-
14595
[tool.ruff]
14696
exclude = [
14797
"__pycache__",

requirements-linting.txt

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1 @@
1-
flake8
2-
flake8-aaa
3-
flake8-assertive
4-
flake8-bugbear
5-
flake8-clean-block
6-
flake8-commas
7-
flake8-comprehensions
8-
flake8-docstrings
9-
flake8-eradicate
10-
flake8-html
11-
flake8-length
12-
flake8-literal
13-
flake8-multiline-containers
14-
flake8-picky-parentheses
15-
flake8-pyproject
16-
flake8-return
17-
flake8-rst-docstrings
18-
flake8-simplify
19-
flake8-type-checking
20-
flake8-use-fstring
21-
flake8-secure-coding-standard
221
ruff

sonar-project.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ sonar.tests=tests/
1010
sonar.python.version=3.8
1111
sonar.python.coverage.reportPaths=coverage.xml
1212
sonar.coverage.exclusions=pyproject.toml
13-
sonar.python.flake8.reportPaths=flake8.txt
1413
sonar.python.ruff.reportPaths=ruff.json
1514

1615
# Encoding of the source code. Default is default system encoding

0 commit comments

Comments
 (0)