mirror of
https://github.com/Hopiu/djLint.git
synced 2026-03-16 21:40:24 +00:00
test(ci): updated lint ci
This commit is contained in:
parent
e804346d61
commit
580f1d9215
3 changed files with 14 additions and 6 deletions
15
.github/workflows/lint.yml
vendored
15
.github/workflows/lint.yml
vendored
|
|
@ -8,7 +8,18 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: setup python 3.10
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.10'
|
||||
|
||||
- name: Setup Poetry
|
||||
uses: snok/install-poetry@v1
|
||||
|
||||
- name: Install
|
||||
run: |
|
||||
poetry install
|
||||
|
||||
- name: run lint
|
||||
run: |
|
||||
pip install tox poetry tox-poetry
|
||||
tox -e lint
|
||||
poetry run tox -e lint
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@ cssbeautifier==1.14.6
|
|||
dill==0.3.5.1; python_full_version >= "3.7.2"
|
||||
editorconfig==0.12.3
|
||||
execnet==1.9.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
|
||||
flake8-print==5.0.0; python_version >= "3.7"
|
||||
flake8==3.9.2; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.7"
|
||||
html-tag-names==0.1.2; python_version >= "3.7" and python_version < "4.0"
|
||||
html-void-elements==0.1.0; python_version >= "3.7" and python_version < "4.0"
|
||||
|
|
|
|||
4
tox.ini
4
tox.ini
|
|
@ -25,12 +25,10 @@ deps =
|
|||
; some can be installed manaully
|
||||
; here.
|
||||
flake8
|
||||
; flake8-bugbear
|
||||
flake8-print
|
||||
flake8-docstrings
|
||||
flake8-builtins
|
||||
flake8-comprehensions
|
||||
; flake8-bandit
|
||||
; flake8-eradicate
|
||||
flake8-pytest-style
|
||||
flake8-simplify
|
||||
flake8-variables-names
|
||||
|
|
|
|||
Loading…
Reference in a new issue