Skip to content

Commit

Permalink
chore: remove use of black in favor of ruff (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
bepri authored Mar 5, 2025
1 parent b1d155a commit e583ec8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,6 @@ git_describe_command = [
include = ["*craft*"]
namespaces = false

[tool.black]
target-version = ["py310"]

[tool.codespell]
ignore-words-list = "buildd,crate,keyserver,comandos,ro,dedent,dedented"
skip = ".tox,.git,build,.*_cache,__pycache__,*.tar,*.snap,*.png,./node_modules,./docs/_build,.direnv,.venv,venv,.vscode"
Expand Down Expand Up @@ -271,7 +268,7 @@ select = [ # Base linting rule selections.
]
ignore = [
#"E203", # Whitespace before ":" -- Commented because ruff doesn't currently check E203
"E501", # Line too long (reason: black will automatically fix this for us)
"E501", # Line too long (reason: ruff will automatically fix this for us)
"D105", # Missing docstring in magic method (reason: magic methods already have definitions)
"D107", # Missing docstring in __init__ (reason: documented in class docstring)
"D203", # 1 blank line required before class docstring (reason: pep257 default)
Expand Down

0 comments on commit e583ec8

Please sign in to comment.