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

Move ruff.toml, pytest.ini and setup.cfg to pyproject.toml #1734

Merged
merged 3 commits into from
Oct 26, 2024

Conversation

rth
Copy link
Contributor

@rth rth commented Oct 25, 2024

Follow up on #1726 cc @oroulet

__init__.py: F401, F403
examples/*: F841, E402
[pycodestyle]
max-line-length = 160
Copy link
Contributor Author

@rth rth Oct 25, 2024

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
Copy link
Contributor Author

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...

Copy link
Member

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

@rth rth force-pushed the move-config-to-pyproject.toml branch from 700a312 to 2705204 Compare October 25, 2024 12:10
"event_objects.py",
"standard_address_space_services.py"
]
target-version = "py37"
Copy link
Member

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

@oroulet oroulet merged commit 45861d7 into FreeOpcUa:master Oct 26, 2024
6 checks passed
@oroulet
Copy link
Member

oroulet commented Oct 26, 2024

merge anyway, we can fix the other things later

@rth rth deleted the move-config-to-pyproject.toml branch October 27, 2024 09:29
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