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

[flake8-pyi] Add a fix for duplicate-literal-member #14188

Merged
merged 1 commit into from
Nov 8, 2024
Merged

Conversation

charliermarsh
Copy link
Member

Summary

Closes #14187.

@charliermarsh charliermarsh added the fixes Related to suggested fixes for violations label Nov 8, 2024
@charliermarsh charliermarsh enabled auto-merge (squash) November 8, 2024 03:41
@charliermarsh charliermarsh merged commit 272d24b into main Nov 8, 2024
18 checks passed
@charliermarsh charliermarsh deleted the charlie/dupe branch November 8, 2024 03:45
Copy link
Contributor

github-actions bot commented Nov 8, 2024

ruff-ecosystem results

Linter (stable)

ℹ️ ecosystem check detected linter changes. (+0 -0 violations, +2 -0 fixes in 2 projects; 52 projects unchanged)

bokeh/bokeh (+0 -0 violations, +2 -0 fixes)

ruff check --no-cache --exit-zero --ignore RUF9 --output-format concise --no-preview --select ALL

- src/bokeh/events.py:569:36: PYI062 Duplicate literal member `-1`
+ src/bokeh/events.py:569:36: PYI062 [*] Duplicate literal member `-1`

pandas-dev/pandas (+0 -0 violations, +0 -0 fixes)


Changes by rule (1 rules affected)

code total + violation - violation + fix - fix
PYI062 2 0 0 2 0

Linter (preview)

ℹ️ ecosystem check detected linter changes. (+0 -0 violations, +2 -0 fixes in 1 projects; 53 projects unchanged)

bokeh/bokeh (+0 -0 violations, +2 -0 fixes)

ruff check --no-cache --exit-zero --ignore RUF9 --output-format concise --preview --select ALL

- src/bokeh/events.py:569:36: PYI062 Duplicate literal member `-1`
+ src/bokeh/events.py:569:36: PYI062 [*] Duplicate literal member `-1`

Changes by rule (1 rules affected)

code total + violation - violation + fix - fix
PYI062 2 0 0 2 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixes Related to suggested fixes for violations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Request: More autofixes for duplicate-literal-member/PYI062
1 participant