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

New pycodestyle.max-line-length option #8039

Merged
merged 2 commits into from Oct 24, 2023
Merged

Conversation

MichaReiser
Copy link
Member

@MichaReiser MichaReiser commented Oct 18, 2023

Summary

This PR introduces a new pycodestyl.max-line-length option that allows overriding the global line-length option for E501 only.

This is useful when using the formatter and E501 together, where the formatter uses a lower limit and E501 is only used to catch extra-long lines.

Closes #7644

Considerations

Our fix infrastructure asserts in some places that the fix doesn't exceed the configured line-width. With this change, the question is whether it should use the pycodestyle.max-line-width or line-width option to make that decision.
I opted for the global line-width for now, considering that it should be the lower limit. However, this constraint isn't enforced and users not using the formatter may only specify pycodestyle.max-line-width because they're unaware of the global option (and it solves their need).

I'm interested to hear your thoughts on whether we should use pycodestyle.max-line-width or line-width to decide on whether to emit a fix or not.

Edit: The linter users pycodestyle.max-line-width. The line-width option has been removed from the LinterSettings

Test Plan

Added integration test. Built the documentation and verified that the links are correct.

@MichaReiser
Copy link
Member Author

MichaReiser commented Oct 18, 2023

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@MichaReiser MichaReiser added the configuration Related to settings and configuration label Oct 18, 2023
Copy link
Member

@charliermarsh charliermarsh left a comment

Choose a reason for hiding this comment

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

I think any of:

  • Global line width
  • pycodestyle line width
  • Explicit take the min(global line width, pycodestyle line width)

...would all be reasonable choices, so I'm fine to approve with any of those, but if I had to choose, I would say that using the pycodestyle line width is probably the most consistent with the intent, since the intent was to avoid introducing E501 violations.

crates/ruff_workspace/src/options.rs Outdated Show resolved Hide resolved
@MichaReiser
Copy link
Member Author

I would say that using the pycodestyle line width is probably the most consistent with the intent, since the intent was to avoid introducing E501 violations.

Thanks, that's helpful input. It wasn't clear to me what the initial intent was.

@MichaReiser MichaReiser force-pushed the pycodestyle-max-line-length branch 3 times, most recently from cdf59e9 to 306e876 Compare October 19, 2023 02:31
@github-actions
Copy link

github-actions bot commented Oct 19, 2023

PR Check Results

Ecosystem

ℹ️ ecosystem check detected changes. (+1683, -1683, 0 error(s))

rasa (+9, -9)

- data/test_classes/custom_graph_components/nlu_dense.py:115:89: E501 Line too long (95 > 88 characters)
+ data/test_classes/custom_graph_components/nlu_dense.py:115:89: E501 Line too long (95 > 88)
- data/test_classes/custom_graph_components/nlu_sparse.py:156:89: E501 Line too long (90 > 88 characters)
+ data/test_classes/custom_graph_components/nlu_sparse.py:156:89: E501 Line too long (90 > 88)
- data/test_classes/custom_slots.py:11:89: E501 Line too long (93 > 88 characters)
+ data/test_classes/custom_slots.py:11:89: E501 Line too long (93 > 88)
- scripts/evaluate_release_tag.py:14:89: E501 Line too long (106 > 88 characters)
+ scripts/evaluate_release_tag.py:14:89: E501 Line too long (106 > 88)
- scripts/evaluate_release_tag.py:43:89: E501 Line too long (120 > 88 characters)
+ scripts/evaluate_release_tag.py:43:89: E501 Line too long (120 > 88)
- scripts/evaluate_release_tag.py:57:89: E501 Line too long (94 > 88 characters)
+ scripts/evaluate_release_tag.py:57:89: E501 Line too long (94 > 88)
- scripts/prepare_nightly_release.py:81:89: E501 Line too long (95 > 88 characters)
+ scripts/prepare_nightly_release.py:81:89: E501 Line too long (95 > 88)
- scripts/prepare_nightly_release.py:89:89: E501 Line too long (103 > 88 characters)
+ scripts/prepare_nightly_release.py:89:89: E501 Line too long (103 > 88)
- scripts/release.py:315:89: E501 Line too long (99 > 88 characters)
+ scripts/release.py:315:89: E501 Line too long (99 > 88)

aws-sam-cli (+186, -186)

- tests/end_to_end/test_runtimes_e2e.py:23:121: E501 Line too long (121 > 120 characters)
+ tests/end_to_end/test_runtimes_e2e.py:23:121: E501 Line too long (121 > 120)
- tests/integration/buildcmd/build_integ_base.py:1051:121: E501 Line too long (128 > 120 characters)
+ tests/integration/buildcmd/build_integ_base.py:1051:121: E501 Line too long (128 > 120)
- tests/integration/buildcmd/build_integ_base.py:196:121: E501 Line too long (154 > 120 characters)
+ tests/integration/buildcmd/build_integ_base.py:196:121: E501 Line too long (154 > 120)
- tests/integration/buildcmd/build_integ_base.py:636:121: E501 Line too long (126 > 120 characters)
+ tests/integration/buildcmd/build_integ_base.py:636:121: E501 Line too long (126 > 120)
- tests/integration/buildcmd/test_build_cmd.py:2339:121: E501 Line too long (125 > 120 characters)
+ tests/integration/buildcmd/test_build_cmd.py:2339:121: E501 Line too long (125 > 120)
- tests/integration/buildcmd/test_build_cmd.py:2554:121: E501 Line too long (125 > 120 characters)
+ tests/integration/buildcmd/test_build_cmd.py:2554:121: E501 Line too long (125 > 120)
- tests/integration/buildcmd/test_build_terraform_applications_other_cases.py:422:121: E501 Line too long (136 > 120 characters)
+ tests/integration/buildcmd/test_build_terraform_applications_other_cases.py:422:121: E501 Line too long (136 > 120)
- tests/integration/delete/test_delete_command.py:21:121: E501 Line too long (121 > 120 characters)
+ tests/integration/delete/test_delete_command.py:21:121: E501 Line too long (121 > 120)
- tests/integration/deploy/test_deploy_command.py:18:121: E501 Line too long (121 > 120 characters)
+ tests/integration/deploy/test_deploy_command.py:18:121: E501 Line too long (121 > 120)
- tests/integration/deploy/test_deploy_command.py:753:121: E501 Line too long (125 > 120 characters)
+ tests/integration/deploy/test_deploy_command.py:753:121: E501 Line too long (125 > 120)
- tests/integration/deploy/test_managed_stack_deploy.py:16:121: E501 Line too long (121 > 120 characters)
+ tests/integration/deploy/test_managed_stack_deploy.py:16:121: E501 Line too long (121 > 120)
- tests/integration/deploy/test_managed_stack_deploy.py:17:121: E501 Line too long (121 > 120 characters)
+ tests/integration/deploy/test_managed_stack_deploy.py:17:121: E501 Line too long (121 > 120)
- tests/integration/init/schemas/schemas_test_data_setup.py:174:121: E501 Line too long (159 > 120 characters)
+ tests/integration/init/schemas/schemas_test_data_setup.py:174:121: E501 Line too long (159 > 120)
- tests/integration/init/schemas/schemas_test_data_setup.py:181:121: E501 Line too long (142 > 120 characters)
+ tests/integration/init/schemas/schemas_test_data_setup.py:181:121: E501 Line too long (142 > 120)
- tests/integration/init/schemas/schemas_test_data_setup.py:190:121: E501 Line too long (159 > 120 characters)
+ tests/integration/init/schemas/schemas_test_data_setup.py:190:121: E501 Line too long (159 > 120)
- tests/integration/init/schemas/schemas_test_data_setup.py:191:121: E501 Line too long (132 > 120 characters)
+ tests/integration/init/schemas/schemas_test_data_setup.py:191:121: E501 Line too long (132 > 120)
- tests/integration/init/test_init_command.py:499:121: E501 Line too long (155 > 120 characters)
+ tests/integration/init/test_init_command.py:499:121: E501 Line too long (155 > 120)
- tests/integration/local/invoke/test_integrations_cli.py:1095:121: E501 Line too long (143 > 120 characters)
+ tests/integration/local/invoke/test_integrations_cli.py:1095:121: E501 Line too long (143 > 120)
- tests/integration/local/invoke/test_integrations_cli.py:19:121: E501 Line too long (125 > 120 characters)
+ tests/integration/local/invoke/test_integrations_cli.py:19:121: E501 Line too long (125 > 120)
- tests/integration/local/start_api/lambda_authorizers/test_cfn_authorizer_definitions.py:213:121: E501 Line too long (160 > 120 characters)
+ tests/integration/local/start_api/lambda_authorizers/test_cfn_authorizer_definitions.py:213:121: E501 Line too long (160 > 120)
- tests/integration/local/start_api/lambda_authorizers/test_cfn_authorizer_definitions.py:248:121: E501 Line too long (160 > 120 characters)
+ tests/integration/local/start_api/lambda_authorizers/test_cfn_authorizer_definitions.py:248:121: E501 Line too long (160 > 120)
- tests/integration/local/start_api/lambda_authorizers/test_cfn_authorizer_definitions.py:283:121: E501 Line too long (160 > 120 characters)
+ tests/integration/local/start_api/lambda_authorizers/test_cfn_authorizer_definitions.py:283:121: E501 Line too long (160 > 120)
- tests/integration/local/start_api/lambda_authorizers/test_cfn_authorizer_definitions.py:318:121: E501 Line too long (160 > 120 characters)
+ tests/integration/local/start_api/lambda_authorizers/test_cfn_authorizer_definitions.py:318:121: E501 Line too long (160 > 120)
- tests/integration/local/start_api/lambda_authorizers/test_swagger_authorizer_definitions.py:181:121: E501 Line too long (170 > 120 characters)
+ tests/integration/local/start_api/lambda_authorizers/test_swagger_authorizer_definitions.py:181:121: E501 Line too long (170 > 120)
- tests/integration/local/start_api/lambda_authorizers/test_swagger_authorizer_definitions.py:222:121: E501 Line too long (170 > 120 characters)
+ tests/integration/local/start_api/lambda_authorizers/test_swagger_authorizer_definitions.py:222:121: E501 Line too long (170 > 120)
- tests/integration/local/start_api/lambda_authorizers/test_swagger_authorizer_definitions.py:263:121: E501 Line too long (170 > 120 characters)
+ tests/integration/local/start_api/lambda_authorizers/test_swagger_authorizer_definitions.py:263:121: E501 Line too long (170 > 120)
- tests/integration/local/start_api/lambda_authorizers/test_swagger_authorizer_definitions.py:303:121: E501 Line too long (170 > 120 characters)
+ tests/integration/local/start_api/lambda_authorizers/test_swagger_authorizer_definitions.py:303:121: E501 Line too long (170 > 120)
- tests/integration/local/start_api/lambda_authorizers/test_swagger_authorizer_definitions.py:344:121: E501 Line too long (170 > 120 characters)
+ tests/integration/local/start_api/lambda_authorizers/test_swagger_authorizer_definitions.py:344:121: E501 Line too long (170 > 120)
- tests/integration/local/start_lambda/test_start_lambda.py:268:121: E501 Line too long (134 > 120 characters)
+ tests/integration/local/start_lambda/test_start_lambda.py:268:121: E501 Line too long (134 > 120)
- tests/integration/package/test_package_command_image.py:18:121: E501 Line too long (123 > 120 characters)
+ tests/integration/package/test_package_command_image.py:18:121: E501 Line too long (123 > 120)
- tests/integration/package/test_package_command_zip.py:15:121: E501 Line too long (123 > 120 characters)
+ tests/integration/package/test_package_command_zip.py:15:121: E501 Line too long (123 > 120)
- tests/integration/package/test_package_command_zip.py:326:121: E501 Line too long (122 > 120 characters)
+ tests/integration/package/test_package_command_zip.py:326:121: E501 Line too long (122 > 120)
- tests/integration/publish/test_command_integ.py:17:121: E501 Line too long (123 > 120 characters)
+ tests/integration/publish/test_command_integ.py:17:121: E501 Line too long (123 > 120)
- tests/integration/sync/test_sync_code.py:29:121: E501 Line too long (121 > 120 characters)
+ tests/integration/sync/test_sync_code.py:29:121: E501 Line too long (121 > 120)
- tests/integration/sync/test_sync_infra.py:25:121: E501 Line too long (121 > 120 characters)
+ tests/integration/sync/test_sync_infra.py:25:121: E501 Line too long (121 > 120)
- tests/integration/sync/test_sync_watch.py:38:121: E501 Line too long (121 > 120 characters)
+ tests/integration/sync/test_sync_watch.py:38:121: E501 Line too long (121 > 120)
- tests/integration/testdata/sync/code/before/makefile_function_create_new_file/main.py:12:121: E501 Line too long (128 > 120 characters)
+ tests/integration/testdata/sync/code/before/makefile_function_create_new_file/main.py:12:121: E501 Line too long (128 > 120)
- tests/integration/validate/test_validate_command.py:24:121: E501 Line too long (121 > 120 characters)
+ tests/integration/validate/test_validate_command.py:24:121: E501 Line too long (121 > 120)
- tests/regression/deploy/test_deploy_regression.py:15:121: E501 Line too long (126 > 120 characters)
+ tests/regression/deploy/test_deploy_regression.py:15:121: E501 Line too long (126 > 120)
- tests/regression/deploy/test_deploy_regression.py:16:121: E501 Line too long (123 > 120 characters)
+ tests/regression/deploy/test_deploy_regression.py:16:121: E501 Line too long (123 > 120)
- tests/regression/package/test_package_regression.py:7:121: E501 Line too long (126 > 120 characters)
+ tests/regression/package/test_package_regression.py:7:121: E501 Line too long (126 > 120)
- tests/regression/package/test_package_regression.py:8:121: E501 Line too long (123 > 120 characters)
+ tests/regression/package/test_package_regression.py:8:121: E501 Line too long (123 > 120)
- tests/smoke/download_sar_templates.py:26:121: E501 Line too long (139 > 120 characters)
+ tests/smoke/download_sar_templates.py:26:121: E501 Line too long (139 > 120)
- tests/smoke/test_all_commands.py:59:121: E501 Line too long (121 > 120 characters)
+ tests/smoke/test_all_commands.py:59:121: E501 Line too long (121 > 120)
- tests/unit/cli/test_import_module_proxy.py:37:121: E501 Line too long (178 > 120 characters)
+ tests/unit/cli/test_import_module_proxy.py:37:121: E501 Line too long (178 > 120)
- tests/unit/commands/_utils/test_template.py:125:121: E501 Line too long (124 > 120 characters)
+ tests/unit/commands/_utils/test_template.py:125:121: E501 Line too long (124 > 120)
- tests/unit/commands/deploy/core/test_command.py:54:121: E501 Line too long (123 > 120 characters)
+ tests/unit/commands/deploy/core/test_command.py:54:121: E501 Line too long (123 > 120)
- tests/unit/commands/deploy/test_guided_context.py:144:121: E501 Line too long (126 > 120 characters)
+ tests/unit/commands/deploy/test_guided_context.py:144:121: E501 Line too long (126 > 120)
- tests/unit/commands/deploy/test_guided_context.py:215:121: E501 Line too long (126 > 120 characters)
+ tests/unit/commands/deploy/test_guided_context.py:215:121: E501 Line too long (126 > 120)
- tests/unit/commands/deploy/test_guided_context.py:294:121: E501 Line too long (126 > 120 characters)
+ tests/unit/commands/deploy/test_guided_context.py:294:121: E501 Line too long (126 > 120)
- tests/unit/commands/deploy/test_guided_context.py:414:121: E501 Line too long (121 > 120 characters)
+ tests/unit/commands/deploy/test_guided_context.py:414:121: E501 Line too long (121 > 120)
- tests/unit/commands/deploy/test_guided_context.py:418:121: E501 Line too long (126 > 120 characters)
+ tests/unit/commands/deploy/test_guided_context.py:418:121: E501 Line too long (126 > 120)
- tests/unit/commands/deploy/test_guided_context.py:497:121: E501 Line too long (126 > 120 characters)
+ tests/unit/commands/deploy/test_guided_context.py:497:121: E501 Line too long (126 > 120)
- tests/unit/commands/deploy/test_guided_context.py:656:121: E501 Line too long (126 > 120 characters)
+ tests/unit/commands/deploy/test_guided_context.py:656:121: E501 Line too long (126 > 120)
- tests/unit/commands/deploy/test_guided_context.py:710:121: E501 Line too long (126 > 120 characters)
+ tests/unit/commands/deploy/test_guided_context.py:710:121: E501 Line too long (126 > 120)
- tests/unit/commands/deploy/test_guided_context.py:774:121: E501 Line too long (126 > 120 characters)
+ tests/unit/commands/deploy/test_guided_context.py:774:121: E501 Line too long (126 > 120)
- tests/unit/commands/deploy/test_guided_context.py:833:121: E501 Line too long (126 > 120 characters)
+ tests/unit/commands/deploy/test_guided_context.py:833:121: E501 Line too long (126 > 120)
- tests/unit/commands/deploy/test_guided_context.py:89:121: E501 Line too long (126 > 120 characters)
+ tests/unit/commands/deploy/test_guided_context.py:89:121: E501 Line too long (126 > 120)
- tests/unit/commands/deploy/test_guided_context.py:903:121: E501 Line too long (126 > 120 characters)
+ tests/unit/commands/deploy/test_guided_context.py:903:121: E501 Line too long (126 > 120)
- tests/unit/commands/deploy/test_guided_context.py:978:121: E501 Line too long (126 > 120 characters)
+ tests/unit/commands/deploy/test_guided_context.py:978:121: E501 Line too long (126 > 120)
- tests/unit/commands/init/test_cli.py:1681:121: E501 Line too long (143 > 120 characters)
+ tests/unit/commands/init/test_cli.py:1681:121: E501 Line too long (143 > 120)
- tests/unit/commands/init/test_cli.py:1827:121: E501 Line too long (134 > 120 characters)
+ tests/unit/commands/init/test_cli.py:1827:121: E501 Line too long (134 > 120)
- tests/unit/commands/init/test_cli.py:1875:121: E501 Line too long (138 > 120 characters)
+ tests/unit/commands/init/test_cli.py:1875:121: E501 Line too long (138 > 120)
- tests/unit/commands/init/test_cli.py:2412:121: E501 Line too long (150 > 120 characters)
+ tests/unit/commands/init/test_cli.py:2412:121: E501 Line too long (150 > 120)
- tests/unit/commands/init/test_cli.py:570:121: E501 Line too long (125 > 120 characters)
+ tests/unit/commands/init/test_cli.py:570:121: E501 Line too long (125 > 120)
- tests/unit/commands/init/test_cli.py:614:121: E501 Line too long (129 > 120 characters)
+ tests/unit/commands/init/test_cli.py:614:121: E501 Line too long (129 > 120)
- tests/unit/commands/list/endpoints/test_endpoints_context.py:180:121: E501 Line too long (121 > 120 characters)
+ tests/unit/commands/list/endpoints/test_endpoints_context.py:180:121: E501 Line too long (121 > 120)
- tests/unit/commands/list/endpoints/test_endpoints_context.py:267:121: E501 Line too long (157 > 120 characters)
+ tests/unit/commands/list/endpoints/test_endpoints_context.py:267:121: E501 Line too long (157 > 120)
- tests/unit/commands/list/endpoints/test_endpoints_context.py:279:121: E501 Line too long (157 > 120 characters)
+ tests/unit/commands/list/endpoints/test_endpoints_context.py:279:121: E501 Line too long (157 > 120)
- tests/unit/commands/list/endpoints/test_endpoints_context.py:79:121: E501 Line too long (157 > 120 characters)
+ tests/unit/commands/list/endpoints/test_endpoints_context.py:79:121: E501 Line too long (157 > 120)
- tests/unit/commands/list/endpoints/test_endpoints_context.py:937:121: E501 Line too long (754 > 120 characters)
+ tests/unit/commands/list/endpoints/test_endpoints_context.py:937:121: E501 Line too long (754 > 120)
- tests/unit/commands/list/endpoints/test_endpoints_context.py:984:121: E501 Line too long (1267 > 120 characters)
+ tests/unit/commands/list/endpoints/test_endpoints_context.py:984:121: E501 Line too long (1267 > 120)
- tests/unit/commands/list/resources/test_resources_context.py:155:121: E501 Line too long (619 > 120 characters)
+ tests/unit/commands/list/resources/test_resources_context.py:155:121: E501 Line too long (619 > 120)
- tests/unit/commands/list/resources/test_resources_context.py:186:121: E501 Line too long (615 > 120 characters)
+ tests/unit/commands/list/resources/test_resources_context.py:186:121: E501 Line too long (615 > 120)
- tests/unit/commands/list/resources/test_resources_context.py:292:121: E501 Line too long (669 > 120 characters)
+ tests/unit/commands/list/resources/test_resources_context.py:292:121: E501 Line too long (669 > 120)
- tests/unit/commands/list/resources/test_resources_context.py:87:121: E501 Line too long (157 > 120 characters)
+ tests/unit/commands/list/resources/test_resources_context.py:87:121: E501 Line too long (157 > 120)
- tests/unit/commands/list/stack_outputs/test_stack_outputs_context.py:26:121: E501 Line too long (130 > 120 characters)
+ tests/unit/commands/list/stack_outputs/test_stack_outputs_context.py:26:121: E501 Line too long (130 > 120)
- tests/unit/commands/local/cli_common/test_invoke_context.py:207:121: E501 Line too long (126 > 120 characters)
+ tests/unit/commands/local/cli_common/test_invoke_context.py:207:121: E501 Line too long (126 > 120)
- tests/unit/commands/local/lib/test_cfn_api_provider.py:1135:121: E501 Line too long (185 > 120 characters)
+ tests/unit/commands/local/lib/test_cfn_api_provider.py:1135:121: E501 Line too long (185 > 120)
- tests/unit/commands/local/lib/test_cfn_api_provider.py:1137:121: E501 Line too long (138 > 120 characters)
+ tests/unit/commands/local/lib/test_cfn_api_provider.py:1137:121: E501 Line too long (138 > 120)
- tests/unit/commands/local/lib/test_cfn_api_provider.py:784:121: E501 Line too long (122 > 120 characters)
+ tests/unit/commands/local/lib/test_cfn_api_provider.py:784:121: E501 Line too long (122 > 120)
- tests/unit/commands/local/lib/test_cfn_api_provider.py:809:121: E501 Line too long (122 > 120 characters)
+ tests/unit/commands/local/lib/test_cfn_api_provider.py:809:121: E501 Line too long (122 > 120)
- tests/unit/commands/local/lib/test_sam_function_provider.py:117:121: E501 Line too long (157 > 120 characters)
+ tests/unit/commands/local/lib/test_sam_function_provider.py:117:121: E501 Line too long (157 > 120)
- tests/unit/commands/local/lib/test_sam_function_provider.py:430:121: E501 Line too long (121 > 120 characters)
+ tests/unit/commands/local/lib/test_sam_function_provider.py:430:121: E501 Line too long (121 > 120)
- tests/unit/commands/local/lib/test_sam_function_provider.py:514:121: E501 Line too long (157 > 120 characters)
+ tests/unit/commands/local/lib/test_sam_function_provider.py:514:121: E501 Line too long (157 > 120)
- tests/unit/commands/local/lib/test_sam_function_provider.py:586:121: E501 Line too long (124 > 120 characters)
+ tests/unit/commands/local/lib/test_sam_function_provider.py:586:121: E501 Line too long (124 > 120)
- tests/unit/commands/local/lib/validators/test_lambda_auth_props.py:231:121: E501 Line too long (136 > 120 characters)
+ tests/unit/commands/local/lib/validators/test_lambda_auth_props.py:231:121: E501 Line too long (136 > 120)
- tests/unit/commands/local/lib/validators/test_lambda_auth_props.py:245:121: E501 Line too long (130 > 120 characters)
+ tests/unit/commands/local/lib/validators/test_lambda_auth_props.py:245:121: E501 Line too long (130 > 120)
- tests/unit/commands/local/lib/validators/test_lambda_auth_props.py:64:121: E501 Line too long (124 > 120 characters)
+ tests/unit/commands/local/lib/validators/test_lambda_auth_props.py:64:121: E501 Line too long (124 > 120)
- tests/unit/commands/local/lib/validators/test_lambda_auth_props.py:76:121: E501 Line too long (162 > 120 characters)
+ tests/unit/commands/local/lib/validators/test_lambda_auth_props.py:76:121: E501 Line too long (162 > 120)
- tests/unit/commands/pipeline/init/test_initeractive_init_flow.py:168:121: E501 Line too long (134 > 120 characters)
+ tests/unit/commands/pipeline/init/test_initeractive_init_flow.py:168:121: E501 Line too long (134 > 120)
- tests/unit/commands/pipeline/init/test_initeractive_init_flow.py:228:121: E501 Line too long (134 > 120 characters)
+ tests/unit/commands/pipeline/init/test_initeractive_init_flow.py:228:121: E501 Line too long (134 > 120)
- tests/unit/commands/pipeline/init/test_initeractive_init_flow.py:504:121: E501 Line too long (128 > 120 characters)
+ tests/unit/commands/pipeline/init/test_initeractive_init_flow.py:504:121: E501 Line too long (128 > 120)
- tests/unit/commands/pipeline/init/test_initeractive_init_flow.py:582:121: E501 Line too long (128 > 120 characters)
+ tests/unit/commands/pipeline/init/test_initeractive_init_flow.py:582:121: E501 Line too long (128 > 120)
- tests/unit/commands/remote/invoke/core/test_command.py:58:121: E501 Line too long (127 > 120 characters)
+ tests/unit/commands/remote/invoke/core/test_command.py:58:121: E501 Line too long (127 > 120)
- tests/unit/commands/remote/invoke/core/test_command.py:65:121: E501 Line too long (140 > 120 characters)
+ tests/unit/commands/remote/invoke/core/test_command.py:65:121: E501 Line too long (140 > 120)
- tests/unit/commands/remote/invoke/core/test_command.py:72:121: E501 Line too long (121 > 120 characters)
+ tests/unit/commands/remote/invoke/core/test_command.py:72:121: E501 Line too long (121 > 120)
- tests/unit/commands/remote/test_event/core/test_command.py:106:121: E501 Line too long (124 > 120 characters)
+ tests/unit/commands/remote/test_event/core/test_command.py:106:121: E501 Line too long (124 > 120)
- tests/unit/commands/remote/test_event/core/test_command.py:113:121: E501 Line too long (143 > 120 characters)
+ tests/unit/commands/remote/test_event/core/test_command.py:113:121: E501 Line too long (143 > 120)
- tests/unit/commands/remote/test_event/core/test_command.py:120:121: E501 Line too long (158 > 120 characters)
+ tests/unit/commands/remote/test_event/core/test_command.py:120:121: E501 Line too long (158 > 120)
- tests/unit/commands/remote/test_event/core/test_command.py:127:121: E501 Line too long (158 > 120 characters)
+ tests/unit/commands/remote/test_event/core/test_command.py:127:121: E501 Line too long (158 > 120)
- tests/unit/commands/remote/test_event/core/test_command.py:232:121: E501 Line too long (134 > 120 characters)
+ tests/unit/commands/remote/test_event/core/test_command.py:232:121: E501 Line too long (134 > 120)
- tests/unit/commands/remote/test_event/core/test_command.py:55:121: E501 Line too long (144 > 120 characters)
+ tests/unit/commands/remote/test_event/core/test_command.py:55:121: E501 Line too long (144 > 120)
- tests/unit/commands/remote/test_event/core/test_command.py:62:121: E501 Line too long (131 > 120 characters)
+ tests/unit/commands/remote/test_event/core/test_command.py:62:121: E501 Line too long (131 > 120)
- tests/unit/hook_packages/terraform/hooks/prepare/prepare_base.py:1014:121: E501 Line too long (121 > 120 characters)
+ tests/unit/hook_packages/terraform/hooks/prepare/prepare_base.py:1014:121: E501 Line too long (121 > 120)
- tests/unit/hook_packages/terraform/hooks/prepare/prepare_base.py:1015:121: E501 Line too long (136 > 120 characters)
+ tests/unit/hook_packages/terraform/hooks/prepare/prepare_base.py:1015:121: E501 Line too long (136 > 120)
- tests/unit/hook_packages/terraform/hooks/prepare/prepare_base.py:1023:121: E501 Line too long (132 > 120 characters)
+ tests/unit/hook_packages/terraform/hooks/prepare/prepare_base.py:1023:121: E501 Line too long (132 > 120)
- tests/unit/hook_packages/terraform/hooks/prepare/prepare_base.py:1026:121: E501 Line too long (132 > 120 characters)
+ tests/unit/hook_packages/terraform/hooks/prepare/prepare_base.py:1026:121: E501 Line too long (132 > 120)
- tests/unit/hook_packages/terraform/hooks/prepare/prepare_base.py:1027:121: E501 Line too long (124 > 120 characters)
+ tests/unit/hook_packages/terraform/hooks/prepare/prepare_base.py:1027:121: E501 Line too long (124 > 120)
- tests/unit/hook_packages/terraform/hooks/prepare/prepare_base.py:1063:121: E501 Line too long (139 > 120 characters)
+ tests/unit/hook_packages/terraform/hooks/prepare/prepare_base.py:1063:121: E501 Line too long (139 > 120)
- tests/unit/hook_packages/terraform/hooks/prepare/prepare_base.py:1072:121: E501 Line too long (139 > 120 characters)
+ tests/unit/hook_packages/terraform/hooks/prepare/prepare_base.py:1072:121: E501 Line too long (139 > 120)
- tests/unit/hook_packages/terraform/hooks/prepare/prepare_base.py:1100:121: E501 Line too long (121 > 120 characters)
+ tests/unit/hook_packages/terraform/hooks/prepare/prepare_base.py:1100:121: E501 Line too long (121 > 120)
- tests/unit/hook_packages/terraform/hooks/prepare/prepare_base.py:1109:121: E501 Line too long (139 > 120 characters)
+ tests/unit/hook_packages/terraform/hooks/prepare/prepare_base.py:1109:121: E501 Line too long (139 > 120)
- tests/unit/hook_packages/terraform/hooks/prepare/prepare_base.py:1113:121: E501 Line too long (146 > 120 characters)
+ tests/unit/hook_packages/terraform/hooks/prepare/prepare_base.py:1113:121: E501 Line too long (146 > 120)
- tests/unit/hook_packages/terraform/hooks/prepare/prepare_base.py:1122:121: E501 Line too long (139 > 120 characters)
+ tests/unit/hook_packages/terraform/hooks/prepare/prepare_base.py:1122:121: E501 Line too long (139 > 120)
- tests/unit/hook_packages/terraform/hooks/prepare/prepare_base.py:1126:121: E501 Line too long (146 > 120 characters)
+ tests/unit/hook_packages/terraform/hooks/prepare/prepare_base.py:1126:121: E501 Line too long (146 > 120)
- tests/unit/hook_packages/terraform/hooks/prepare/prepare_base.py:1151:121: E501 Line too long (125 > 120 characters)
+ tests/unit/hook_packages/...*[Comment body truncated]*

crates/ruff_workspace/src/options.rs Outdated Show resolved Hide resolved
@MichaReiser MichaReiser changed the base branch from rename-length-options to add-formatter-to-line-length-doc October 24, 2023 03:04
@MichaReiser MichaReiser changed the title New pycodestyle.max-line-width option New pycodestyle.max-line-length option Oct 24, 2023
@MichaReiser MichaReiser force-pushed the add-formatter-to-line-length-doc branch from 1c1aed4 to de85ade Compare October 24, 2023 07:45
Base automatically changed from add-formatter-to-line-length-doc to main October 24, 2023 07:55
@MichaReiser
Copy link
Member Author

MichaReiser commented Oct 24, 2023

Merge activity

  • Oct 24, 3:57 AM: Graphite rebased this pull request after merging its parent, because this pull request is set to merge when ready.
  • Oct 24, 4:14 AM: @MichaReiser merged this pull request with Graphite.

@MichaReiser MichaReiser merged commit 9feb86c into main Oct 24, 2023
17 checks passed
@MichaReiser MichaReiser deleted the pycodestyle-max-line-length branch October 24, 2023 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
configuration Related to settings and configuration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add pydocstyle.line-width option
3 participants