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

Set default black lines #17

Merged
merged 3 commits into from
May 16, 2024
Merged

Set default black lines #17

merged 3 commits into from
May 16, 2024

Conversation

Gabriel-Bottrill
Copy link
Collaborator

@Gabriel-Bottrill Gabriel-Bottrill commented May 16, 2024

Context:
The required line-length for this project is not the same as the default line length for black. It would be easier if default was set.

Description of the Change:
Added pyproject.toml file that sets default line length for black.

Benefits:
Easier to format code. Also, it is less confusing for other contributors to pass CI tests as they may not know the intended line length.

Possible Drawbacks:
Extra file in main folder.

Related GitHub Issues:
N/A

@Gabriel-Bottrill Gabriel-Bottrill changed the base branch from main to rc-0.3 May 16, 2024 00:29
Copy link
Contributor

@glassnotes glassnotes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Gabriel-Bottrill ! I made some other small adjustments to pin CI requirements (and corresponding adjustments). If this looks okay please go ahead and merge so that these changes can be pulled into #16 .

@Gabriel-Bottrill
Copy link
Collaborator Author

Looks great to me!

@Gabriel-Bottrill Gabriel-Bottrill merged commit 3a64492 into rc-0.3 May 16, 2024
3 checks passed
@glassnotes glassnotes deleted the set_default_black_lines branch August 24, 2024 22:17
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.

2 participants