-
Notifications
You must be signed in to change notification settings - Fork 11
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
style: Add black linter options and line length set to 100 #35
Conversation
ruff parameters can be included in toml file
…ne-lengths-to-100' of https://github.com/Loop3D/map2loop into 34-style-add-pyprojecttoml-for-black-linting-and-set-line-lengths-to-100
was calling isinstance incorrectly, but it makes more sense to use subclass. Although beartype won't let that.
There was a problem hiding this 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
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
No description provided.