Skip to content
Snippets Groups Projects
Commit 41698e0d authored by borzechof99's avatar borzechof99 :whale2:
Browse files

Update Black Formatter to only check and Linter to use pylint-django

parent ac8d3f81
No related branches found
No related tags found
No related merge requests found
...@@ -47,7 +47,7 @@ before_script: ...@@ -47,7 +47,7 @@ before_script:
black: black:
image: milansuk/python-black:latest image: milansuk/python-black:latest
script: script:
- black --fast . - black --check .
#SOURCE: https://pypi.org/project/pylint-gitlab/ #SOURCE: https://pypi.org/project/pylint-gitlab/
pylint: pylint:
...@@ -57,7 +57,7 @@ pylint: ...@@ -57,7 +57,7 @@ pylint:
- python -V - python -V
- mkdir -p public/badges public/lint - mkdir -p public/badges public/lint
- echo undefined > public/badges/$CI_JOB_NAME.score - echo undefined > public/badges/$CI_JOB_NAME.score
- pip install pylint-gitlab - pip install pylint-django
- pip install -r requirements.txt - pip install -r requirements.txt
script: script:
- pylint --exit-zero --output-format=text $(find -type f -name "*.py" ! -path "**/.venv/**") | tee /tmp/pylint.txt - pylint --exit-zero --output-format=text $(find -type f -name "*.py" ! -path "**/.venv/**") | tee /tmp/pylint.txt
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment