Move lint tools configuration to pyproject.toml

This commit removes the mypy CI job, since there are no or few type
hints in the codebase and it failed on unrelated changes in the past.
It might be reintroduced when type hints get added.
This commit is contained in:
FestplattenSchnitzel 2022-09-20 12:29:59 +02:00 committed by Hans-Christoph Steiner
parent 42cb31039e
commit e4d16ec1e8
4 changed files with 64 additions and 81 deletions

View file

@ -219,7 +219,7 @@ lint_format_safety_bandit_checks:
--ini .bandit
|| set_error
- safety check --full-report || set_error
- pylint --rcfile=.pylint-rcfile --output-format=colorized --reports=n
- pylint --output-format=colorized --reports=n
fdroid
makebuildserver
setup.py
@ -234,26 +234,11 @@ lint_format_safety_bandit_checks:
- exit $EXITVALUE
lint_mypy:
image: debian:bullseye-backports
<<: *apt-template
script:
# use Debian packages to avoid building C/rust sources
- apt-get install
mypy
python3-cryptography
python3-pip
python3-wheel
- apt-get install -t bullseye-backports python3-pyjks
- pip install -e .[test]
- mypy
black:
image: python:slim
script:
- pip install black
- black --check --diff --color --skip-string-normalization
- black --check --diff --color
examples/fdroid_extract_repo_pubkey.py
examples/makebuildserver.config.py
fdroid