Skip to content

Commit 906e128

Browse files
committed
fixing pylint issues
1 parent 61219c6 commit 906e128

File tree

4 files changed

+6
-125
lines changed

4 files changed

+6
-125
lines changed

.github/workflows/lint-format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
python -m pip install --upgrade pip
2525
2626
- name: Run pylint
27-
run: pylint $(git ls-files '*.py')
27+
run: pylint .
2828

2929
- name: Run black
3030
run: black --check .

.pylintrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
[main]
2-
3-
ignore=tests,.env
1+
[MASTER]
2+
ignore=tests,.env
3+
disable=import-error,line-too-long

main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
Module containing examples of common vulnerabilities in web applications.
33
44
This FastAPI app demonstrates insecure coding practices such as SQL injection,
5-
directory traversal, improper exception handling, insecure file uploads, and
6-
weak authentication mechanisms. The purpose is to highlight vulnerabilities
5+
directory traversal, improper exception handling, insecure file uploads, and
6+
weak authentication mechanisms. The purpose is to highlight vulnerabilities
77
for educational purposes.
88
"""
99

tests/test_main.py-e

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

0 commit comments

Comments
 (0)