mirror of
https://github.com/TheR1D/shell_gpt.git
synced 2026-07-03 14:10:18 +02:00
New arguments, more accurate responses, improvements, tests
This commit is contained in:
committed by
Farkhod Sadykov
parent
81ae0fab73
commit
a07355db3d
@@ -24,18 +24,19 @@ jobs:
|
||||
- name: Analysing the code with pylint
|
||||
run: |
|
||||
pylint \
|
||||
sgpt.py \
|
||||
tests.py \
|
||||
*.py \
|
||||
--disable=missing-function-docstring \
|
||||
--disable=too-many-arguments \
|
||||
--disable=missing-module-docstring \
|
||||
--disable=import-error \
|
||||
--disable=missing-class-docstring \
|
||||
--disable=too-many-instance-attributes \
|
||||
--disable=too-many-function-args \
|
||||
--disable=unspecified-encoding \
|
||||
--max-line-length=120
|
||||
- name: Analysing the code with black
|
||||
run: |
|
||||
black --target-version py310 -l 120 sgpt.py tests.py
|
||||
black --target-version py310 -l 120 *.py
|
||||
- name: Run unittests
|
||||
run: |
|
||||
python -m unittest tests.py
|
||||
python -m unittest unittests.py
|
||||
|
||||
Reference in New Issue
Block a user