Skip to content

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