test(ci): updated lint ci

This commit is contained in:
Christopher Pickering 2022-09-01 15:23:08 -05:00
parent e804346d61
commit 580f1d9215
No known key found for this signature in database
GPG key ID: E14DB3B0A0FACF84
3 changed files with 14 additions and 6 deletions

View file

@ -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

View file

@ -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"

View file

@ -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