Newer
Older
name: python
on: [push, pull_request]
jobs:
python-lint:
steps:
- uses: actions/checkout@v2
- uses: aidasoft/run-lcg-view@v1
with:
release-platform: ${{ matrix.LCG }}
run: |
echo "RUNNING PYLINT PY3K CHECK"
find . -name "*.py" -and -not -name 'ddsix.py' -exec pylint --rcfile=.github/scripts/DD4hep.pylint.py3k.rc --py3k --msg-template="{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}" {} +
echo ""
echo "RUNNING FLAKE8 CHECK"
find . -name "*.py" -and -not -name 'ddsix.py' -exec flake8 {} +