-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #229 from uberfastman/release/v20.0.0
Release/v20.0.0
- Loading branch information
Showing
54 changed files
with
4,791 additions
and
3,887 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
exclude = [ | ||
".git", | ||
".github", | ||
".idea", | ||
".pytest_cache", | ||
".python-venv", | ||
"__pycache__", | ||
] | ||
extend-exclude = [ | ||
] | ||
line-length = 120 | ||
indent-width = 4 | ||
|
||
[format] | ||
quote-style = "double" | ||
indent-style = "space" | ||
docstring-code-format = true | ||
skip-magic-trailing-comma = false | ||
line-ending = "auto" | ||
|
||
[lint] | ||
extend-select = [ | ||
"E501" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Determine this makefile's path. Be sure to place this BEFORE `include` directives, if any. | ||
THIS_FILE := $(lastword $(MAKEFILE_LIST)) | ||
|
||
# help target from https://github.com/cargo-bins/cargo-quickinstall/blob/e17486445f6577c551a35876dca73132cc4c6298/Makefile#L70 | ||
help: | ||
@grep -E '^[a-z.A-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' | ||
|
||
.PHONY: deps dev_deps lint secure test_code test_actions test_actions_amd check test_check help Makefile | ||
|
||
deps: ## Install all dependencies. | ||
uv pip install -r requirements.txt | ||
|
||
dev_deps: ## Install all development dependencies. | ||
uv pip install -r requirements-dev.txt | ||
|
||
lint: ## Lint code with ruff. | ||
ruff check . | ||
|
||
secure: ## Check code security with bandit. | ||
$ bandit -r ffmwr -s B113,B310,B311,B608 | ||
|
||
test_code: ## Run tests with PyTest. | ||
pytest tests | ||
|
||
test_actions: ## Test GitHub Actions using act. | ||
act -j build | ||
|
||
test_actions_amd: ## Test package GitHub Actions on ARM architecture using act. | ||
act --container-architecture linux/amd64 -j build | ||
|
||
check: deps dev_deps lint secure ## Run all code checks. | ||
echo "Code checked." | ||
|
||
test_check: check test_code ## Run all code checks and tests. | ||
echo "Code checked and tested." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.