Skip to content

Commit

Permalink
making suggested changes to config files
Browse files Browse the repository at this point in the history
  • Loading branch information
Emmanuel Rondan committed Feb 6, 2024
1 parent 6d380f7 commit 02eb87b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 42 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,12 @@ jobs:
- python-version: "3.8"
env:
TOXENV: docs
- python-version: "3.8"
env:
TOXENV: pre-commit
- python-version: "3.12"
env:
TOXENV: flake8
TOXENV: pre-commit
- python-version: "3.12"
env:
TOXENV: pylint
- python-version: "3.12"
env:
TOXENV: security
- python-version: "3.12"
env:
TOXENV: typing
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
repos:
- repo: https://github.com/PyCQA/bandit
rev: 1.7.4
rev: 1.7.7
hooks:
- id: bandit
args: [-r, -c, .bandit.yml]
language_version: python3.8
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
rev: 7.0.0
hooks:
- id: flake8
language_version: python3.8
- repo: https://github.com/psf/black.git
rev: 23.1.0
rev: 24.1.1
hooks:
- id: black
language_version: python3.8
- repo: https://github.com/pycqa/isort
rev: 5.11.5
rev: 5.13.2
hooks:
- id: isort
language_version: python3.8
16 changes: 0 additions & 16 deletions pyproject.toml

This file was deleted.

16 changes: 1 addition & 15 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py38, py39, py310, py311, py312, pypy3, docs, security, flake8, pylint, black, typing, pre-commit
envlist = py38, py39, py310, py311, py312, pypy3, docs, pylint, typing, pre-commit

[testenv]
deps =
Expand All @@ -16,12 +16,6 @@ commands =
--cov=w3lib --cov-report=term --cov-report=xml \
{posargs:w3lib tests}

[testenv:security]
deps =
bandit
commands =
bandit -r -c .bandit.yml {posargs:w3lib}

[testenv:typing]
basepython = python3
deps =
Expand All @@ -31,14 +25,6 @@ deps =
commands =
mypy --strict {posargs: w3lib tests}

[testenv:flake8]
basepython = python3
deps =
flake8==6.1.0
commands =
flake8 \
{posargs:w3lib tests setup.py}

[testenv:pylint]
deps =
{[testenv]deps}
Expand Down

0 comments on commit 02eb87b

Please sign in to comment.