-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
also migrate from dependabot to renovate
- Loading branch information
Showing
9 changed files
with
1,321 additions
and
1,657 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,26 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": [ | ||
"config:recommended" | ||
], | ||
"schedule": [ | ||
"on sunday" | ||
], | ||
"packageRules": [ | ||
{ | ||
"groupName": "non-development dependencies", | ||
"matchDepTypes": [ | ||
"dependencies" | ||
] | ||
}, | ||
{ | ||
"groupName": "development dependencies", | ||
"matchDepTypes": [ | ||
"devDependencies" | ||
] | ||
} | ||
], | ||
"lockFileMaintenance": { | ||
"enabled": true | ||
} | ||
} |
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 |
---|---|---|
|
@@ -4,4 +4,5 @@ __pycache__ | |
.mypy_cache | ||
.coverage | ||
*.whl | ||
*.tar.gz | ||
*.tar.gz | ||
.venv |
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 |
---|---|---|
@@ -1,18 +1,18 @@ | ||
## Build targets | ||
.PHONY: lint test format lint-pylint lint-black lint-mypy lint-bandit | ||
test: | ||
poetry run pytest -vv --log-level=DEBUG --cov aws_sqs_batchlib --cov-report term-missing | ||
uv run pytest -vv --log-level=DEBUG --cov aws_sqs_batchlib --cov-report term-missing | ||
|
||
lint: lint-ruff-check lint-ruff-format lint-mypy lint-bandit | ||
lint-ruff-check: | ||
poetry run ruff check | ||
uv run ruff check | ||
lint-ruff-format: | ||
poetry run ruff format --check | ||
uv run ruff format --check | ||
lint-mypy: | ||
poetry run mypy aws_sqs_batchlib benchmark | ||
uv run mypy aws_sqs_batchlib benchmark | ||
lint-bandit: | ||
poetry run bandit -q -r aws_sqs_batchlib benchmark | ||
uv run bandit -q -r aws_sqs_batchlib benchmark | ||
|
||
format: | ||
poetry run ruff format | ||
poetry run ruff check --fix | ||
uv run ruff format | ||
uv run ruff check --fix |
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.
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 |
---|---|---|
@@ -1,29 +1,33 @@ | ||
[tool.poetry] | ||
[project] | ||
name = "aws-sqs-batchlib" | ||
version = "3.0.0" | ||
description = "Library for working with Amazon SQS" | ||
authors = ["Sami Jaktholm <sjakthol@outlook.com>"] | ||
authors = [ | ||
{ name = "Sami Jaktholm", email = "sjakthol@outlook.com" } | ||
] | ||
license = "MIT" | ||
readme = 'README.md' | ||
requires-python = ">=3.8" | ||
dependencies = [ | ||
"boto3" | ||
] | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.8,<4.0.0" | ||
boto3 = "^1.28" | ||
|
||
[tool.poetry.group.dev.dependencies] | ||
bandit = "^1.7.9" | ||
boto3-stubs = {extras = ["sqs"], version = "^1.35"} | ||
moto = {extras = ["sqs"], version = "^5.0"} | ||
mypy = "^1.11.2" | ||
pyformance = "^0.4" | ||
pytest = "^8.3.2" | ||
pytest-cov = "^5.0" | ||
ruff = ">=0.6.4,<0.10.0" | ||
typing-extensions = "^4.12" | ||
[tool.uv] | ||
dev-dependencies = [ | ||
"bandit", | ||
"boto3-stubs[sqs]", | ||
"moto[sqs]", | ||
"mypy", | ||
"pyformance", | ||
"pytest", | ||
"pytest-cov", | ||
"ruff", | ||
"typing-extensions" | ||
] | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
build-backend = "poetry.core.masonry.api" | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[tool.ruff] | ||
lint.select = ["E", "F", "I"] | ||
lint.extend-select = ["I"] |
Oops, something went wrong.