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

Expanded linting #146

Merged
merged 2 commits into from
Nov 7, 2024
Merged

Expanded linting #146

merged 2 commits into from
Nov 7, 2024

Conversation

Restioson
Copy link
Collaborator

By changing select to extend-select, we keep the default Ruff lints enabled. Additionally, there are some more lints that we care about that have both been enabled and fixed in this commit.

@Restioson Restioson self-assigned this Nov 7, 2024
`_bs_icon` is only called in `icon`, so there is no reason for it to be a
separate function. Additionally, by moving it to `icon`, we can ensure that only
whitelisted icon names are used, reducing the chance of actual string injection
attacks.
By changing `select` to `extend-select`, we keep the default Ruff lints enabled.
Additionally, there are some more lints that we care about that have both been
enabled and fixed in this commit.
@Restioson Restioson force-pushed the lint/expanded-linting branch from e925030 to 3acf4d0 Compare November 7, 2024 10:39
@Restioson Restioson changed the title Lint/expanded linting Expanded linting Nov 7, 2024
@Restioson Restioson merged commit 7717c62 into main Nov 7, 2024
7 checks passed
@Restioson Restioson deleted the lint/expanded-linting branch November 7, 2024 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants