Skip to content

Commit

Permalink
pipeline: enable pylint_import_requirements explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
fphammerle committed May 8, 2020
1 parent 2ea5fec commit f1edde3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ jobs:
pipenv install --dev importlib-metadata;
fi
- run: pipenv graph
- run: pipenv run pylint ical2vdir
- run: pipenv run pylint --load-plugins=pylint_import_requirements ical2vdir
# https://github.com/PyCQA/pylint/issues/352
# disable parse-error due to:
# > tests/resources/__init__.py:1:0: F0010: error while code parsing: Unable to load file tests/resources/__init__.py:
# > [Errno 2] No such file or directory: 'tests/resources/__init__.py' (parse-error)
- run: pipenv run pylint --disable=missing-requirement --disable=parse-error tests/*
- run: pipenv run pylint --disable=parse-error tests/*
- run: pipenv run mypy ical2vdir tests
- run: pipenv run pytest --cov=ical2vdir --cov-report=term-missing --cov-fail-under=100
- run: pipenv run black --check .
Expand Down
4 changes: 0 additions & 4 deletions .pylintrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
[MASTER]

load-plugins=pylint_import_requirements

[MESSAGE CONTROL]

disable=bad-continuation, # black
Expand Down

0 comments on commit f1edde3

Please sign in to comment.