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

Allow space-before-colon after end-of-slice #8838

Merged
merged 1 commit into from
Nov 25, 2023
Merged

Conversation

charliermarsh
Copy link
Member

Closes #8752.

@charliermarsh charliermarsh added the bug Something isn't working label Nov 25, 2023
@charliermarsh charliermarsh merged commit 0d4af9d into main Nov 25, 2023
16 checks passed
@charliermarsh charliermarsh deleted the charlie/E203 branch November 25, 2023 18:16
Copy link
Contributor

ruff-ecosystem results

Linter (stable)

✅ ecosystem check detected no linter changes.

Linter (preview)

ℹ️ ecosystem check detected linter changes. (+0 -137 violations, +0 -0 fixes in 41 projects)

DisnakeDev/disnake (+0 -2 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --preview

- disnake/ext/commands/flag_converter.py:593:51: E203 [*] Whitespace before ':'
- disnake/ext/commands/view.py:70:40: E203 [*] Whitespace before ':'

RasaHQ/rasa (+0 -7 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --preview

- rasa/core/featurizers/precomputation.py:259:71: E203 [*] Whitespace before ':'
- rasa/shared/core/trackers.py:472:65: E203 [*] Whitespace before ':'
- rasa/shared/core/training_data/visualization.py:229:52: E203 [*] Whitespace before ':'
- rasa/shared/nlu/training_data/message.py:472:61: E203 [*] Whitespace before ':'
- tests/test_server.py:2211:82: E203 [*] Whitespace before ':'
- tests/test_server.py:2242:82: E203 [*] Whitespace before ':'
- tests/test_server.py:2246:84: E203 [*] Whitespace before ':'

apache/airflow (+0 -23 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --preview --select ALL

- airflow/auth/managers/fab/fab_auth_manager.py:326:84: E203 [*] Whitespace before ':'
- airflow/models/taskmixin.py:167:52: E203 [*] Whitespace before ':'
- airflow/providers/amazon/aws/hooks/sagemaker.py:123:81: E203 [*] Whitespace before ':'
- airflow/providers/cncf/kubernetes/operators/resource.py:91:56: E203 [*] Whitespace before ':'
- airflow/providers/google/cloud/transfers/azure_fileshare_to_gcs.py:148:75: E203 [*] Whitespace before ':'
- airflow/providers_manager.py:170:56: E203 [*] Whitespace before ':'
- airflow/providers_manager.py:658:86: E203 [*] Whitespace before ':'
- dev/breeze/src/airflow_breeze/utils/kubernetes_utils.py:557:55: E203 [*] Whitespace before ':'
- dev/breeze/src/airflow_breeze/utils/packages.py:297:61: E203 [*] Whitespace before ':'
- dev/breeze/src/airflow_breeze/utils/path_utils.py:96:36: E203 [*] Whitespace before ':'
... 13 additional changes omitted for project

aws/aws-sam-cli (+0 -11 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --preview

- samcli/hook_packages/terraform/hooks/prepare/resource_linking.py:1018:78: E203 [*] Whitespace before ':'
- samcli/hook_packages/terraform/hooks/prepare/resource_linking.py:1034:61: E203 [*] Whitespace before ':'
- samcli/hook_packages/terraform/hooks/prepare/resource_linking.py:1926:42: E203 [*] Whitespace before ':'
- samcli/hook_packages/terraform/hooks/prepare/resource_linking.py:856:97: E203 [*] Whitespace before ':'
- samcli/hook_packages/terraform/hooks/prepare/resource_linking.py:875:65: E203 [*] Whitespace before ':'
- samcli/hook_packages/terraform/hooks/prepare/resource_linking.py:932:82: E203 [*] Whitespace before ':'
- samcli/hook_packages/terraform/hooks/prepare/resource_linking.py:939:65: E203 [*] Whitespace before ':'
- samcli/hook_packages/terraform/hooks/prepare/translate.py:395:87: E203 [*] Whitespace before ':'
- samcli/lib/schemas/schemas_api_caller.py:187:104: E203 [*] Whitespace before ':'
- samcli/lib/schemas/schemas_directory_hierarchy_builder.py:15:47: E203 [*] Whitespace before ':'
... 1 additional changes omitted for project

freedomofpress/securedrop (+0 -2 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --preview

- securedrop/pretty_bad_protocol/_util.py:227:35: E203 [*] Whitespace before ':'
- securedrop/tests/test_journalist.py:3046:49: E203 [*] Whitespace before ':'

ibis-project/ibis (+0 -4 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --preview

- ibis/backends/dask/tests/execution/test_strings.py:24:39: E203 [*] Whitespace before ':'
- ibis/backends/pandas/aggcontext.py:472:57: E203 [*] Whitespace before ':'
- ibis/backends/pandas/tests/execution/test_strings.py:24:39: E203 [*] Whitespace before ':'
- ibis/backends/tests/test_string.py:704:71: E203 [*] Whitespace before ':'

jrnl-org/jrnl (+0 -6 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --preview

- jrnl/journals/Entry.py:231:53: E203 [*] Whitespace before ':'
- jrnl/journals/Journal.py:367:44: E203 [*] Whitespace before ':'
- jrnl/journals/Journal.py:449:67: E203 [*] Whitespace before ':'
- jrnl/plugins/fancy_exporter.py:87:60: E203 [*] Whitespace before ':'
- tests/lib/helpers.py:38:71: E203 [*] Whitespace before ':'
- tests/lib/helpers.py:40:59: E203 [*] Whitespace before ':'

lnbits/lnbits (+0 -6 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --preview

- lnbits/core/migrations.py:112:50: E203 [*] Whitespace before ':'
- lnbits/middleware.py:205:59: E203 [*] Whitespace before ':'
- lnbits/nodes/cln.py:291:45: E203 [*] Whitespace before ':'
- lnbits/nodes/cln.py:307:47: E203 [*] Whitespace before ':'
- lnbits/wallets/lnbits.py:155:68: E203 [*] Whitespace before ':'
- lnbits/wallets/lntips.py:153:52: E203 [*] Whitespace before ':'

milvus-io/pymilvus (+0 -1 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --preview

- pymilvus/orm/iterator.py:137:63: E203 [*] Whitespace before ':'

mlflow/mlflow (+0 -26 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --preview

- examples/jwt_auth/jwt_auth.py:28:41: E203 [*] Whitespace before ':'
- mlflow/models/evaluation/base.py:442:69: E203 [*] Whitespace before ':'
- mlflow/models/evaluation/default_evaluator.py:1635:92: E203 [*] Whitespace before ':'
- mlflow/projects/utils.py:57:63: E203 [*] Whitespace before ':'
- mlflow/pyfunc/model.py:293:58: E203 [*] Whitespace before ':'
- mlflow/recipes/utils/execution.py:109:76: E203 [*] Whitespace before ':'
- mlflow/sagemaker/__init__.py:1980:67: E203 [*] Whitespace before ':'
- mlflow/store/artifact/azure_blob_artifact_repo.py:167:52: E203 [*] Whitespace before ':'
- mlflow/store/artifact/azure_data_lake_artifact_repo.py:125:76: E203 [*] Whitespace before ':'
- mlflow/store/artifact/gcs_artifact_repo.py:126:59: E203 [*] Whitespace before ':'
... 16 additional changes omitted for project

pypa/pip (+0 -10 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --preview

- src/pip/_internal/operations/freeze.py:89:58: E203 [*] Whitespace before ':'
- src/pip/_internal/req/req_install.py:733:40: E203 [*] Whitespace before ':'
- src/pip/_internal/utils/compatibility_tags.py:37:53: E203 [*] Whitespace before ':'
- src/pip/_internal/utils/encoding.py:26:33: E203 [*] Whitespace before ':'
- src/pip/_internal/utils/misc.py:203:43: E203 [*] Whitespace before ':'
- src/pip/_internal/vcs/git.py:127:42: E203 [*] Whitespace before ':'
- src/pip/_internal/vcs/subversion.py:220:46: E203 [*] Whitespace before ':'
- tests/functional/test_check.py:10:62: E203 [*] Whitespace before ':'
- tests/lib/__init__.py:529:51: E203 [*] Whitespace before ':'
- tests/unit/test_req_uninstall.py:260:44: E203 [*] Whitespace before ':'

reflex-dev/reflex (+0 -1 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --preview

- reflex/__init__.py:293:56: E203 [*] Whitespace before ':'

tiangolo/fastapi (+0 -1 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --preview

- docs_src/generate_clients/tutorial004.py:12:55: E203 [*] Whitespace before ':'

yandex/ch-backup (+0 -1 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --preview

- ch_backup/util.py:84:31: E203 [*] Whitespace before ':'

zulip/zulip (+0 -36 violations, +0 -0 fixes)

ruff check --no-cache --exit-zero --preview --select ALL

- tools/documentation_crawler/documentation_crawler/spiders/common/spiders.py:164:91: E203 [*] Whitespace before ':'
- tools/documentation_crawler/documentation_crawler/spiders/common/spiders.py:175:96: E203 [*] Whitespace before ':'
- tools/lib/template_parser.py:233:39: E203 [*] Whitespace before ':'
- zerver/lib/cache.py:231:32: E203 [*] Whitespace before ':'
- zerver/lib/markdown/__init__.py:1274:64: E203 [*] Whitespace before ':'
- zerver/lib/markdown/__init__.py:1714:76: E203 [*] Whitespace before ':'
- zerver/lib/markdown/__init__.py:285:46: E203 [*] Whitespace before ':'
- zerver/lib/markdown/__init__.py:825:45: E203 [*] Whitespace before ':'
- zerver/lib/markdown/api_arguments_table_generator.py:106:59: E203 [*] Whitespace before ':'
- zerver/lib/markdown/api_return_values_table_generator.py:62:59: E203 [*] Whitespace before ':'
- zerver/lib/markdown/help_emoticon_translations_table.py:60:59: E203 [*] Whitespace before ':'
- zerver/lib/markdown/help_relative_links.py:206:63: E203 [*] Whitespace before ':'
- zerver/lib/markdown/help_settings_links.py:169:63: E203 [*] Whitespace before ':'
... 23 additional changes omitted for project

Changes by rule (1 rules affected)

code total + violation - violation + fix - fix
E203 137 0 137 0 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

E203 conflicts with formatter (and black)
1 participant