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

Replace logical_lines feature with debug_assertions #3648

Merged
merged 1 commit into from
Mar 21, 2023

Conversation

charliermarsh
Copy link
Member

@@ -23,7 +23,7 @@ macro_rules! check {
#[wasm_bindgen_test]
fn empty_config() {
check!(
"if (1, 2):\n pass",
Copy link
Member

Choose a reason for hiding this comment

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

Are the changes in this file intentional?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, because these rules are now enabled in debug here (whereas before, I don't think we were running with --all-features). So without these changes, we get additional pycodestyle errors.

@MichaReiser MichaReiser changed the title Replace logical_lines flag with debug_assertions Replace logical_lines feature with debug_assertions Mar 21, 2023
@charliermarsh charliermarsh merged commit 27903cd into main Mar 21, 2023
@charliermarsh charliermarsh deleted the charlie/debug-flag branch March 21, 2023 16:16
JonathanPlasse added a commit to JonathanPlasse/ruff that referenced this pull request Mar 24, 2023
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