Skip to content

Commit

Permalink
Merge pull request #195 from neutrinoceros/flake8-comp
Browse files Browse the repository at this point in the history
STY: activate flake8-comprehensions and flake8-2020 (ruff)
  • Loading branch information
neutrinoceros authored May 14, 2023
2 parents 5ad0753 + e5f0d65 commit 6a58d41
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/neutrinoceros/wxc/main.svg)](https://results.pre-commit.ci/latest/github/neutrinoceros/wxc/main)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v1.json)](https://github.com/charliermarsh/ruff)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json)](https://github.com/charliermarsh/ruff)


`wxc` (pronounced "which") allows you to inspect source code in your Python
Expand Down
8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,11 @@ select = [
"E",
"F",
"W",
"B",
"I",
"UP",
"C4", # flake8-comprehensions
"B", # flake8-bugbear
"YTT", # flake8-2020
"I", # isort
"UP", # pyupgrade
]

[tool.ruff.isort]
Expand Down

0 comments on commit 6a58d41

Please sign in to comment.