Replace flake8 & isort with ruff (#3103)
Fixes #3101 - Remove `make sort` and `make sort-fix` make targerts - Use `make lint` and `make lint-fix` instead. - Make use of GitHub Annotation to surface issues as annotations directly in the files changed, similar to CodeQL. - Move stuff from `setup.cfg` to `pyproject.toml` - Fixed the potentially buggy code. Each of the fix types is in individual commits.
parent
e1fca93b
No related branches found
No related tags found
Showing
- .github/workflows/hypha-ci.yml 4 additions, 13 deletions.github/workflows/hypha-ci.yml
- Makefile 6 additions, 16 deletionsMakefile
- addressfield/tests.py 7 additions, 3 deletionsaddressfield/tests.py
- hypha/apply/activity/adapters/base.py 3 additions, 1 deletionhypha/apply/activity/adapters/base.py
- hypha/apply/activity/adapters/emails.py 1 addition, 1 deletionhypha/apply/activity/adapters/emails.py
- hypha/apply/activity/adapters/slack.py 5 additions, 1 deletionhypha/apply/activity/adapters/slack.py
- hypha/apply/activity/messaging.py 4 additions, 1 deletionhypha/apply/activity/messaging.py
- hypha/apply/api/v1/filters.py 3 additions, 1 deletionhypha/apply/api/v1/filters.py
- hypha/apply/api/v1/stream_serializers.py 1 addition, 1 deletionhypha/apply/api/v1/stream_serializers.py
- hypha/apply/categories/models.py 1 addition, 1 deletionhypha/apply/categories/models.py
- hypha/apply/determinations/forms.py 15 additions, 5 deletionshypha/apply/determinations/forms.py
- hypha/apply/determinations/tests/factories.py 1 addition, 1 deletionhypha/apply/determinations/tests/factories.py
- hypha/apply/funds/admin_helpers.py 2 additions, 2 deletionshypha/apply/funds/admin_helpers.py
- hypha/apply/funds/edit_handlers.py 3 additions, 1 deletionhypha/apply/funds/edit_handlers.py
- hypha/apply/funds/management/commands/migration_base.py 1 addition, 1 deletionhypha/apply/funds/management/commands/migration_base.py
- hypha/apply/funds/migrations/0062_data_migrate_type_for_assigned_reviewers.py 2 additions, 4 deletions...grations/0062_data_migrate_type_for_assigned_reviewers.py
- hypha/apply/funds/models/submissions.py 3 additions, 1 deletionhypha/apply/funds/models/submissions.py
- hypha/apply/funds/tables.py 7 additions, 2 deletionshypha/apply/funds/tables.py
- hypha/apply/funds/tests/factories/blocks.py 6 additions, 4 deletionshypha/apply/funds/tests/factories/blocks.py
- hypha/apply/funds/tests/test_admin_form.py 3 additions, 1 deletionhypha/apply/funds/tests/test_admin_form.py
Loading
Please register or sign in to comment