fixup! Add polar coordinate conversion to transform tool #215
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pylint | |
on: [push] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install --requirement requirements.txt | |
- name: Run pylint | |
# TODO: Use a config file for settings | |
run: | | |
find generative/ tests/ tools/ -name '*.py' -exec pylint \ | |
--rcfile=/dev/null \ | |
--fail-under 9.0 \ | |
-d invalid-name \ | |
-d fixme \ | |
-d redefined-outer-name \ | |
-d missing-module-docstring \ | |
-d missing-class-docstring \ | |
-d missing-function-docstring \ | |
-d duplicate-code \ | |
-d wrong-import-position \ | |
{} + | |
- name: Run pydocstyle | |
# www.pydocstyle.org/en/stable/error_codes.html | |
# TODO: Move the list of ignored checks to a config file. | |
run: | | |
find generative/ tools/ -name '*.py' -exec pydocstyle \ | |
--ignore=D100,D103,D104,D105,D203,D213,D407,D413 \ | |
{} + |