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

End of year clean up #177

Merged
merged 5 commits into from
Dec 28, 2024
Merged

End of year clean up #177

merged 5 commits into from
Dec 28, 2024

Conversation

Preocts
Copy link
Owner

@Preocts Preocts commented Dec 28, 2024

No description provided.

Version update (autoupdate)

Remove hooks `debug-statements` and `mixed-line-endings` as rarely used.
Both `black` and `flake8` are enforced by pre-commit in the CI and are
not requirements for developing.

`mypy` remains here for support of editor setups that have extensions to
use mypy while working but require the library to be installed.
Use the venv `--update-deps` flag to ensure pip is updated when a new
venv is created.
Allow line lengths of 100 for black and remove flake8's config on
length. flake8 is already configured to ignore line length violations.

Reasoning of 100:

A line length of 88 is the default which is 8 more than PEP-8
recommendations. This comes from the default recommendation plus two
indents worth which amount to a class and method. 100 allows for three
more indents. The goal here is not to encourage deeper nesting but to
encourage more verbose naming without trying to trim those few
characteres.

Overall expectation is to keep using a visual guide of 88 characters.
@Preocts Preocts self-assigned this Dec 28, 2024
Adds the flag `include-hidden-files: true` to the upload artifact action
as behavior was changed in 4.4.1.
@Preocts Preocts merged commit ce9bb9d into main Dec 28, 2024
18 checks passed
@Preocts Preocts deleted the eoy-cleanup branch December 28, 2024 02:57
Preocts added a commit that referenced this pull request Dec 28, 2024
Preocts added a commit that referenced this pull request Dec 28, 2024
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.

1 participant