diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml new file mode 100644 index 0000000..bca4400 --- /dev/null +++ b/.woodpecker/lint.yml @@ -0,0 +1,14 @@ +pipeline: + pylint: + image: fnndsc/python-poetry + commands: + - poetry add pylint + - poetry install + - find . -type f -name "*.py" | xargs poetry run pylint --disable=E0401,W0511 + flake8: + image: fnndsc/python-poetry + commands: + - poetry add flake8 + - poetry install + - poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics + - poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics diff --git a/.woodpecker.yml b/.woodpecker/test.yml similarity index 100% rename from .woodpecker.yml rename to .woodpecker/test.yml