-
Notifications
You must be signed in to change notification settings - Fork 368
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
Move ruff.toml, pytest.ini and setup.cfg to pyproject.toml #1734
Conversation
__init__.py: F401, F403 | ||
examples/*: F841, E402 | ||
[pycodestyle] | ||
max-line-length = 160 |
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.
removed the flake8 and pycodestyle config as it's replaced by ruff check.
|
||
[tool.ruff] | ||
line-length = 120 |
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.
Note that this line was previously ignored since ruff.toml
file existed.
If a line length of 120 is set currently (or even 160) there is a bunch of errors. So probably if this is to be fixed, might be easier to start using ruff format
...
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.
very strnage I did a reformating of many things in a recent commit.
but ok I can change that later
700a312
to
2705204
Compare
"event_objects.py", | ||
"standard_address_space_services.py" | ||
] | ||
target-version = "py37" |
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.
should be 3.9 now, evertyhing else is not supported by Python
merge anyway, we can fix the other things later |
Follow up on #1726 cc @oroulet