Skip to content

Commit

Permalink
Remove the ruff linter
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Jan 11, 2024
1 parent eabde36 commit 8c6532e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 40 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/codespell.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# This Action looks for typos in the codebase using codespell
# and intuitive GitHub Annotations to contributors.
# https://github.com/codespell-project/codespell#readme
name: codespell
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
codespell:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: codespell-project/actions-codespell@v2
19 changes: 0 additions & 19 deletions .github/workflows/codespell_and_ruff.yml

This file was deleted.

21 changes: 0 additions & 21 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,3 @@ build-backend = "setuptools.build_meta"

[tool.codespell]
ignore-words-list = "acount,crate,fo,ois,ot,seh"

[tool.ruff]
extend-ignore = ["E702", "F401", "F541"]

[tool.ruff.per-file-ignores]
"docs/examples/debug-example.py" = ["E402"]
"docs/examples/tests.py" = ["E402", "F811", "F841"]
"test/check_py27_compat.py" = ["E722"]
"test/debug/test_charptr.py" = ["E703"]
"test/support.py" = ["E401"]
"test/test_call.py" = ["E703"]
"test/test_capsule.py" = ["E711"]
"test/test_capsule_legacy.py" = ["F811"]
"test/test_hpyerr.py" = ["F841"]
"test/test_hpyfield.py" = ["F811"]
"test/test_hpylong.py" = ["E701", "E712", "F841"]
"test/test_hpytype.py" = ["E701", "F841"]
"test/test_hpytype_legacy.py" = ["F841"]
"test/test_hpyunicode.py" = ["E721", "E722"]
"test/test_slots.py" = ["F841"]
"test/test_support.py" = ["F811"]

0 comments on commit 8c6532e

Please sign in to comment.