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

Overhaul for stable #98

Merged
merged 19 commits into from
Aug 20, 2024
Merged

Overhaul for stable #98

merged 19 commits into from
Aug 20, 2024

Conversation

enpaul
Copy link
Owner

@enpaul enpaul commented Aug 15, 2024

This is the start of the final push towards a stable release of this project. It's also an update to get the project back into a healthy state after a long hiatus.

Summary of changes:

Work for the next PR:

enpaul added 6 commits August 13, 2024 12:44
This creates a large module to sort through, but the hope is that it
avoids the need to constantly hop around without rhyme or reason to
find the piece of logic you're looking for. The module structure is
mapped to functionality rather than an arbitrary concept of reducing
line number.
@enpaul enpaul marked this pull request as ready for review August 15, 2024 18:01
enpaul and others added 3 commits August 16, 2024 11:06
Remove unused imports
Disable redundant errors
Add notes for why errors are disabled
enpaul added 6 commits August 16, 2024 12:50
I went back and fourth on this, but ultimately decided that it's more trouble
than it's worth. Between false positives, deeply nested packages raising
vulnerabilities, and the brittleness of the poetry-plugin-export that the
tooling relies on, it causes more headaches than it avoids. A future PR will
enable dependabot tooling that will open PRs to automatically fix this problem
so I don't have to deal with it anymore (hopefully)
See here for indept explanation: psf/black#4175
See here (and related) for the attitude: asottile/reorder-python-imports#366
enpaul added 4 commits August 20, 2024 13:02
Fix typing errors
Standardize on "import module" format rather than "from module import foo" format
Remove _poetry stub module since we directly depend on the poetry package now
Fix conflicts between modules and parameters both named 'poetry'
Fixes #92
@enpaul enpaul merged commit 536fd65 into devel Aug 20, 2024
6 checks passed
@enpaul enpaul deleted the enp/refactor branch August 20, 2024 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment