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

style: Add black linter options and line length set to 100 #35

Conversation

RoyThomsonMonash
Copy link
Contributor

No description provided.

Copy link
Member

@lachlangrose lachlangrose left a comment

Choose a reason for hiding this comment

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

@RoyThomsonMonash I've added enough changes to this that you should also review it!

.flake8 Outdated
Copy link
Member

Choose a reason for hiding this comment

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

@RoyThomsonMonash I've changed the CI to use ruff which can be specified in the toml file, should we delete this file?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reviewed changes to use ruff instead of flake8 and noting use of isinstance or issubclass checks.

I'm happy to approve and merge but there are a lot of ignore codes for ruff linting, are ruff defaults not compatible with black?

Happy to delete .flake8 file as it isn't needed anymore.

@RoyThomsonMonash RoyThomsonMonash merged commit aa8add2 into master Feb 15, 2024
@RoyThomsonMonash RoyThomsonMonash deleted the 34-style-add-pyprojecttoml-for-black-linting-and-set-line-lengths-to-100 branch February 15, 2024 03:57
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.

[style] Add pyproject.toml for black linting and set line lengths to 100
2 participants