Skip to content

Commit

Permalink
chore(python): Add support for ruff python linter. (#5151)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghuls committed Oct 11, 2022
1 parent 6ffed3c commit 72884e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion py-polars/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ develop-release: $(VENV) ## Build by running `maturin develop --release`
$(VENV_ACT_BIN)maturin develop --release

.PHONY: clean cleaner cleanest
clean: ## Just run `carcumgo clean`
clean: ## Just run `cargo clean`
-cargo clean

cleaner: clean ## clean + remove VENV and other auto-generated dirs & files
Expand All @@ -60,6 +60,7 @@ cleaner: clean ## clean + remove VENV and other auto-generated dirs & files
-rm -rf .hypothesis
-rm -rf .mypy_cache
-rm -rf .pytest_cache
-rm -rf .ruff_cache
-rm -f .coverage
-rm -f coverage.xml
-rm -f polars/polars.abi3.so
Expand Down
3 changes: 3 additions & 0 deletions py-polars/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,6 @@ exclude_lines = [
"if TYPE_CHECKING:",
"from typing_extensions import ",
]

[tool.ruff]
line-length = 88

0 comments on commit 72884e1

Please sign in to comment.