Skip to content

feat: migrate from pylint/black to ruff#42

Merged
ahmed-arb merged 2 commits intooverhangio:releasefrom
edly-io:rehman/migrate-ruff
Sep 3, 2025
Merged

feat: migrate from pylint/black to ruff#42
ahmed-arb merged 2 commits intooverhangio:releasefrom
edly-io:rehman/migrate-ruff

Conversation

@rehmansheikh222
Copy link
Contributor

Linked Epic: overhangio/tutor#1251

@@ -0,0 +1 @@
[Improvement] Migrate from pylint and black to ruff. (by @rehmansheikh222) No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
[Improvement] Migrate from pylint and black to ruff. (by @rehmansheikh222)
- [Improvement] Migrate from pylint and black to ruff. (by @rehmansheikh222)

# W292: missing-newline-at-end-of-file
extend-select = ["F401", "F841", "W292"]

[tool.ruff.format]
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this needed at the end?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Currently, we’re not using any custom ruff format options, so this section is not required. I left it in place to make it easier to add formatting rules in the future without restructuring the config, but I’m fine with removing it if we prefer to keep only actively used sections.

@DawoudSheraz DawoudSheraz self-requested a review August 11, 2025 05:43
Makefile Outdated
@@ -4,22 +4,22 @@ SRC_DIRS = ./tutorxqueue
BLACK_OPTS = --exclude templates ${SRC_DIRS}
Copy link
Contributor

Choose a reason for hiding this comment

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

BLACK_OPTS can be removed now.

@rehmansheikh222 rehmansheikh222 force-pushed the rehman/migrate-ruff branch 2 times, most recently from b627d2a to 73232d0 Compare August 13, 2025 12:28
@DawoudSheraz
Copy link
Contributor

@jfavellar90 Hi, awaiting your review. Thanks

@DawoudSheraz
Copy link
Contributor

@jfavellar90 Hi, awaiting your review. Thanks

@jfavellar90 A reminder to review this PR. Thanks

@DawoudSheraz DawoudSheraz requested a review from ahmed-arb August 29, 2025 05:47
@ahmed-arb ahmed-arb merged commit 13da199 into overhangio:release Sep 3, 2025
2 checks passed
@github-project-automation github-project-automation bot moved this from In review to Done in Tutor project management Sep 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Development

Successfully merging this pull request may close these issues.

4 participants