dsa-ou / algoesup

Algorithmic essays support: examples, templates, guides, library
https://dsa-ou.github.io/algoesup/
BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Fix #19: Add CLI config options to %ruff and %pytype with default args #20

Closed densnow closed 6 months ago

densnow commented 6 months ago

- Added -j --jupyter argument to %ruff to ignore irrelevant errors for JN environments. - Implement the pyproject.toml configuration in command line form using --select and --ignore options.

Tested on local Linux machine with (local) pip install and on google colab with mounted drive.

densnow commented 6 months ago

This time options for CLI configuration have been added to %ruff and %pytype . Default arguments based of the pyproject.toml have also been given for each option.

I've been using this notebook to test things out. It's a bit rough and incomplete to add to the project, but it might be helpful.