Merge pull request #150 from nim65s/pre-commit-ci-update-config

[pre-commit.ci] pre-commit autoupdate
This commit is contained in:
mergify[bot] 2024-09-09 09:47:04 +00:00 committed by GitHub
commit b3820466fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 762 additions and 622 deletions

View File

@ -13,5 +13,5 @@ jobs:
- run: poetry install --with dev --no-interaction
- run: poetry run ruff format .
- run: poetry run ruff check .
- run: poetry run safety check
- run: poetry run safety check --ignore 70612
- run: poetry run poetry check

View File

@ -5,5 +5,5 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: docker-compose -f test.yml up --exit-code-from tests
- run: docker compose -f test.yml up --exit-code-from tests
- uses: codecov/codecov-action@v4

View File

@ -1,6 +1,6 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.5.0
rev: v0.6.3
hooks:
- id: ruff
args:
@ -8,7 +8,7 @@ repos:
- --exit-non-zero-on-fix
- id: ruff-format
- repo: https://github.com/nim65s/pre-commit-sort
rev: v0.2.0
rev: v0.4.0
hooks:
- id: pre-commit-sort
- repo: https://github.com/pappasam/toml-sort

12
flake.lock generated
View File

@ -5,11 +5,11 @@
"systems": "systems"
},
"locked": {
"lastModified": 1709126324,
"narHash": "sha256-q6EQdSeUZOG26WelxqkmR7kArjgWCdw5sfJVHPH/7j8=",
"lastModified": 1710146030,
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "d465f4819400de7c8d874d50b982301f28a84605",
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
"type": "github"
},
"original": {
@ -20,11 +20,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1709703039,
"narHash": "sha256-6hqgQ8OK6gsMu1VtcGKBxKQInRLHtzulDo9Z5jxHEFY=",
"lastModified": 1725634671,
"narHash": "sha256-v3rIhsJBOMLR8e/RNWxr828tB+WywYIoajrZKFM+0Gg=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "9df3e30ce24fd28c7b3e2de0d986769db5d6225d",
"rev": "574d1eac1c200690e27b8eb4e24887f8df7ac27c",
"type": "github"
},
"original": {

View File

@ -8,9 +8,9 @@
outputs =
{
self,
nixpkgs,
flake-utils,
...
}:
flake-utils.lib.eachDefaultSystem (
system:

1352
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -14,17 +14,17 @@ version = "3.9.1"
[tool.poetry.dependencies]
Markdown = "^3.6"
matrix-nio = "^0.24"
matrix-nio = "^0.25"
python = "^3.8"
[tool.poetry.group.dev]
optional = true
[tool.poetry.group.dev.dependencies]
coverage = "^7.5.4"
httpx = ">=0.27.0"
ruff = ">=0.5.0"
safety = {allow-prereleases = true, version = "^3.2.3"}
coverage = "^7.6.1"
httpx = ">=0.27.2"
ruff = ">=0.6.4"
safety = {allow-prereleases = true, version = "^3.2.7"}
[tool.poetry.scripts]
matrix-webhook = "matrix_webhook.__main__:main"