Skip to content

Commit

Permalink
style: remove pylint (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
lengau committed Oct 24, 2023
1 parent 1f36381 commit beb9201
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ dev = [
]
lint = [
"black==23.10.0",
"pylint>=2.17.0,<3.0.0",
"pylint_fixme_info>=1.0.0",
"pylint_pytest>=1.1.0",
"codespell[toml]==2.2.6",
"ruff==0.1.1",
"yamllint==1.32.0"
Expand All @@ -62,7 +59,8 @@ docs = [
"sphinx-lint==0.8.1",
"sphinx-notfound-page==1.0.0",
"sphinx-reredirects==0.1.2",
"sphinx-tabs==3.4.1", "sphinx-rtd-theme",
"sphinx-rtd-theme",
"sphinx-tabs==3.4.1",
]

[build-system]
Expand Down
7 changes: 3 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
env_list = # Environments to run when called with no parameters.
format-{black,ruff,codespell}
pre-commit
lint-{black,ruff,mypy,pyright,shellcheck,codespell,docs,yaml,pylint}
lint-{black,ruff,mypy,pyright,shellcheck,codespell,docs,yaml}
unit-py3.{8,10,11}
integration-py3.10
# Integration tests probably take a while, so we're only running them on Python
Expand Down Expand Up @@ -67,7 +67,7 @@ runner = ignore_env_name_mismatch
find = git ls-files
filter = file --mime-type -Nnf- | grep shellscript | cut -f1 -d:

[testenv:lint-{black,ruff,shellcheck,codespell,yaml,pylint}]
[testenv:lint-{black,ruff,shellcheck,codespell,yaml}]
description = Lint the source code
base = testenv, lint
labels = lint
Expand All @@ -81,7 +81,6 @@ commands =
shellcheck: xargs -ra {env_tmp_dir}/shellcheck_files shellcheck
codespell: codespell --toml {tox_root}/pyproject.toml {posargs}
yaml: yamllint {posargs} .
pylint: pylint {posargs} craft_store --ignore _version.py

[testenv:lint-{mypy,pyright}]
description = Static type checking
Expand Down Expand Up @@ -144,4 +143,4 @@ find = git ls-files
description = Lint the documentation with sphinx-lint
base = docs
commands = sphinx-lint --ignore docs/_build --ignore .tox --ignore .venv --ignore venv --ignore docs/sphinx-docs-starter-pack --max-line-length 80 -e all {posargs}
labels = lint
labels = lint

0 comments on commit beb9201

Please sign in to comment.