Skip to content

Commit

Permalink
style: enable lint check
Browse files Browse the repository at this point in the history
  • Loading branch information
necusjz committed Dec 17, 2023
1 parent a9eae1b commit 4717669
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ jobs:
pytest -s -v --color=yes tests/
include:
- python: "3.10"
task:
name: Lint
run: ruff check .

- python: "3.10"
task:
name: Build
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,4 @@ cython_debug/

# General
.vagrant/
.ruff_cache/
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,10 @@ exclude = [

[tool.setuptools.dynamic]
version = {attr = "src.splatbot.version.VERSION"}

[tool.ruff]
line-length = 120
target-version = "py310"

[tool.ruff.per-file-ignores]
"__init__.py" = ["F401"]

0 comments on commit 4717669

Please sign in to comment.