Skip to content

Commit 6d7e428

Browse files
Linting-files
1 parent 5b103e7 commit 6d7e428

File tree

5 files changed

+18
-45
lines changed

5 files changed

+18
-45
lines changed

.flake8

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[flake8]
2-
max-line-length = 120
3-
exclude = .venv, _pycache_, migrations
4-
ignore = E501,F401,F811,F841,E203,E231,W503
2+
max-line-length = 88
3+
extend-ignore = E501
4+
exclude = .venv
5+
ignore = E203, W503

.github/workflows/pylint.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,8 @@ jobs:
2121
python-version: ${{ matrix.python-version }}
2222

2323
# Step 3: Run all code quality checks
24-
- name: Run Code Quality Checks
24+
- name: Pylint
2525
run: |
26-
python -m pip install --upgrade pip
27-
pip install -r requirements.txt
28-
echo "Fixing imports with Isort..."
29-
python -m isort --verbose .
30-
echo "Formatting code with Black..."
31-
python -m black --verbose .
32-
echo "Running Flake8..."
33-
python -m flake8 --config=.flake8 --verbose .
3426
echo "Running Pylint..."
35-
python -m pylint --rcfile=.pylintrc --verbose .
27+
python -m flake8 --config=.flake8 --verbose .
28+

.pylintrc

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

requirements.txt

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,8 @@ aiohttp==3.10.5
1111
gunicorn==20.1.0
1212
pydantic-settings==2.2.1
1313
# Development Tools
14-
pylint==2.17.5
15-
autopep8==2.0.2
16-
black==23.9.1
17-
isort==5.12.0
18-
flake8==6.0.0
19-
pyment==0.3.3
20-
charset-normalizer==3.3.0
21-
pycodestyle==2.10.0
14+
flake8==7.1.1
15+
black==24.8.0
16+
autoflake==2.3.1
17+
isort==5.13.2
18+

test.cmd

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
@echo off
2+
3+
call autoflake .
4+
call black .
5+
call isort .
6+
call flake8 .

0 commit comments

Comments
 (0)