Skip to content

Commit 676732c

Browse files
committed
Fix safety plugin required in CI
1 parent 366847b commit 676732c

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/test-code.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ jobs:
1111
- uses: actions/setup-python@v3
1212
- name: Install Poetry
1313
uses: snok/install-poetry@v1
14+
- run: poetry install --no-root
1415
- uses: pre-commit/[email protected]

.pre-commit-config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,4 +83,3 @@ repos:
8383
hooks:
8484
- id: python-safety-dependencies-check
8585
args: [ "-i", "74429" ]
86-
additional_dependencies: [ "poetry-plugin-export>=1.8" ]

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ classifiers=[
1717
"Typing :: Typed"
1818
]
1919

20-
2120
[tool.poetry.dependencies]
2221
python = "^3.12"
2322
redis = "^5.2.0"
@@ -33,13 +32,15 @@ aiolimiter = "^1.1.0"
3332
black = "^24.10.0"
3433
diskcache = "^5.6.3"
3534

36-
3735
[tool.poetry.group.dev.dependencies]
3836
pre-commit = "^3.7.1"
3937

4038
[tool.poetry.scripts]
4139
scraper-bot = 'scraper_bot.__main__:main'
4240

41+
[tool.poetry.requires-plugins]
42+
poetry-plugin-export = ">=1.8"
43+
4344
[build-system]
4445
requires = ["poetry-core"]
4546
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)