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

Feature/SK-736 | Ruff linter #552

Merged
merged 33 commits into from May 7, 2024
Merged

Feature/SK-736 | Ruff linter #552

merged 33 commits into from May 7, 2024

Conversation

viktorvaladi
Copy link
Contributor

Remove flake8, autopep8 and isort in favor of Ruff.

@@ -23,5 +27,4 @@
"BASE_IMG": "python:3.9"
Copy link
Collaborator

Choose a reason for hiding this comment

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

lets try python 3.11 here

.github/workflows/code-checks.yaml Show resolved Hide resolved
pyproject.toml Show resolved Hide resolved
lint = ["ruff>=0.0.220"] # MIT License (MIT)

[tool.ruff]
line-length = 160
Copy link
Collaborator

Choose a reason for hiding this comment

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

is not this very high number?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, its a very high number, but it's the one that was used on the earlier setup. I think we should lower it in the future

Copy link
Collaborator

Choose a reason for hiding this comment

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

which earlier setup? We have always used 79 (pep8)

@viktorvaladi viktorvaladi requested a review from Wrede May 4, 2024 08:06
lint = ["ruff>=0.0.220"] # MIT License (MIT)

[tool.ruff]
line-length = 160
Copy link
Collaborator

Choose a reason for hiding this comment

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

which earlier setup? We have always used 79 (pep8)

@viktorvaladi viktorvaladi merged commit d1e1767 into master May 7, 2024
11 checks passed
@viktorvaladi viktorvaladi deleted the feature/SK-736 branch May 7, 2024 06:00
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.

None yet

2 participants