navigating-stories / orange-story-navigator

Add-on to the Orange3 data mining toolkit with text processing widgets from the project Navigating Stories
https://research-software-directory.org/projects/navigating-stories
Other
2 stars 2 forks source link

Linting, type checks, and formatting #64

Open stefsmeets opened 1 month ago

stefsmeets commented 1 month ago

I see that the code declares prospector, black, and pylint as dependencies, but I get the impression these are not being used. I get a large number of warnings from these tools. The pylint checks in the GA are disabled.

I want to slowly introduce back some linting, type checking and autoformatting into this project. Probably built around ruff and pre-commit. Maybe mypy if it's worth it. Let me know what you think.

stefsmeets commented 1 month ago

Import sorting should include from __future__ import annotations for python 3.9 support