mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-13 18:16:10 +00:00
Merge pull request #433 from oraios/ci/check-formatting
Add formatting check in CI
This commit is contained in:
2 files changed
+4
No files matched your search
@@ -102,6 +102,9 @@ jobs:
|
||||
- name: Install dependencies
|
||||
shell: bash
|
||||
run: uv pip install -e ".[dev]"
|
||||
- name: Check formatting
|
||||
shell: bash
|
||||
run: uv run poe lint
|
||||
- name: Test with pytest
|
||||
shell: bash
|
||||
run: uv run poe test
|
||||
@@ -235,6 +235,7 @@ ignore = [
|
||||
"SIM117", # forbids nested with statements
|
||||
"C400", # wants to unnecessarily force use of list comprehension
|
||||
"UP037", # can incorrectly (!) convert quoted type to unquoted type, causing an error
|
||||
"UP045", # imposes T | None instead of Optional[T]
|
||||
]
|
||||
unfixable = ["F841", "F601", "F602", "B018"]
|
||||
extend-fixable = ["F401", "B905", "W291"]
|
||||
|
||||
Reference in new issue
Block a user