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

Replace setup.py with pyproject.toml #73

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Replace setup.py with pyproject.toml #73

wants to merge 4 commits into from

Conversation

araglu
Copy link
Collaborator

@araglu araglu commented Jan 24, 2025

This configures Black to use a line-length of 120. This also removes options from lint_and_format.yml so they use settings from tox.ini and pyproject.toml. Black formatting is in the previous PR, #72.

The minimum Python version is bumped up from 3.7 to 3.8 due to a couple f-strings with self-documenting expressions in the debug logging.

CHW-669

Also changes flake8 config to stop ignoring line length (E501).
In the debug logging, I use f-strings with "self-documenting expressions"
which was added in Python 3.8.
Black and Flake8 will grab their configurations from pyproject.toml and tox.ini.
@araglu araglu marked this pull request as ready for review January 24, 2025 20:44
@araglu araglu requested a review from sdc50 January 24, 2025 20:44
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