-
Notifications
You must be signed in to change notification settings - Fork 108
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
Modernise config #1330
Modernise config #1330
Conversation
only the first 3 commits are relevant. |
pyproject.toml
Outdated
line-length = 179 | ||
|
||
[tool.ruff] | ||
line-length = 179 |
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.
I wouldn't change the max line length together with this PR. It makes this PR impossible to review because the entire code base has been reformatted. I assume that if it's kept at 120, the changes will be easier to see.
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.
it is not so much because of the line length (this only changed a few files), but mostly because the new config activates import sorting on non __init__.py
files
eae9ef2
to
50c4755
Compare
4484fa6
to
dddd5e1
Compare
@gonzalocasas should be reviewable now... |
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.
LGTM!
from compas_invocations import docs | ||
from compas_invocations import style | ||
from compas_invocations import tests | ||
from compas_invocations2 import build |
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.
Oh, I didn't know we had a compas_invocations2
:)
requirements-dev.txt
Outdated
black >=22.12.0 | ||
bump-my-version | ||
compas_invocations2 | ||
compas_notebook |
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.
Is the dependency on compas_notebook
intentional or leftover?
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.
leftover. will remove it...
What type of change is this?
Checklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.CHANGELOG.md
file in theUnreleased
section under the most fitting heading (e.g.Added
,Changed
,Removed
).invoke test
).invoke lint
).compas.datastructures.Mesh
.