Added more tests, update pyproject.toml

This commit is contained in:
Alex Root Junior 2022-10-01 22:12:25 +03:00
parent 6fbc1bcfde
commit d9f9ff74fe
No known key found for this signature in database
GPG key ID: 074C1D455EBEA4AC
8 changed files with 258 additions and 173 deletions

View file

@ -1,5 +1,3 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
@ -38,3 +36,15 @@ repos:
rev: 0.2.0
hooks:
- id: sync_with_poetry
- repo: https://github.com/python-poetry/poetry
rev: '1.2.1'
hooks:
- id: poetry-check
- id: poetry-lock
- id: poetry-export
args: [ "-f", "requirements.txt", "--without-hashes", "-o", "requirements/base.txt" ]
- id: poetry-export
args: [ "-f", "requirements.txt", "--without-hashes", "-o", "requirements/docs.txt",
"-E", "fast", "-E", "redis", "-E", "proxy", "-E", "i18n",
"--with", "docs" ]