Skip to content

Commit

Permalink
CI: Remove hashes from requirements files
Browse files Browse the repository at this point in the history
Something strange happens when there are indirect dependencies with "extra"
requirements but I don't have the time to dig in deeper now.

This should fix the failing CI for now.
  • Loading branch information
pmav99 committed Nov 9, 2023
1 parent 4c0f17a commit ce8fe4b
Show file tree
Hide file tree
Showing 6 changed files with 260 additions and 3,449 deletions.
17 changes: 13 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@ repos:
- id: "reorder-python-imports"
args:
- "--py310-plus"
- "--add-import"
- "from __future__ import annotations"

- repo: "https://github.com/asottile/add-trailing-comma"
rev: "v3.1.0"
hooks:
- id: "add-trailing-comma"

- repo: "https://github.com/astral-sh/ruff-pre-commit"
rev: "v0.1.3"
Expand All @@ -66,21 +73,23 @@ repos:
name: "poetry export main"
args:
[
"--only",
"main",
"--without-hashes",
"-f",
"requirements.txt",
"--only",
"main",
"-o",
"requirements/requirements.txt",
]
- id: "poetry-export"
name: "poetry export dev"
args:
[
"--with",
"dev",
"--without-hashes",
"-f",
"requirements.txt",
"--with",
"dev",
"-o",
"requirements/requirements-dev.txt",
]
Expand Down
2 changes: 1 addition & 1 deletion observer/ioc.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def write_ioc_df(
"_default": {
"type": "zstd",
"args": {"level": compression_level},
}
},
},
)

Expand Down
2 changes: 2 additions & 0 deletions observer/settings.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from __future__ import annotations

from functools import lru_cache

from pydantic import Field
Expand Down
Loading

0 comments on commit ce8fe4b

Please sign in to comment.