Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flake8 linter and isort workflow to aucmedi #228

Open
wants to merge 26 commits into
base: development
Choose a base branch
from

Conversation

DanielHieber
Copy link

Adds flake8 and isort import linter to aucmedi workflows with custom config.

- add flake8 with config for code sytle linting
- add isort with config for import sorting
- lint automl/block_eval and pred
- replace nested if else with match case
- rerun isort to fix import order errors
- update flake8 workflow to run correct command
@muellerdo
Copy link
Member

muellerdo commented Sep 20, 2024

Really nice contribution, thank you very much for that awesome code quality improvement!

One thing: AUCMEDI officially supports the latest NumPy stable Python version -> 3.9 right now.
You integrated matching syntax in the automl train/pred/eval scripts, which is not working for the 3.9 CI (Python 3.9 requirements run). Could you make that downwards compatible with also Python3.9?

We plan to integrate the PR after the dev branch is build stable again (probably next week as @rizoudal is fixing the last two bugs in #227 ).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants