diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 30ba27d6..104306f9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -5,7 +5,7 @@ default_stages: - push repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v4.3.0 + rev: v4.4.0 hooks: - id: check-ast - id: check-case-conflict @@ -69,11 +69,10 @@ repos: additional_dependencies: - toml - repo: https://github.com/PyCQA/flake8 - rev: 5.0.4 + rev: 6.0.0 hooks: - id: flake8 - additional_dependencies: - [ + additional_dependencies: [ "flake8-bugbear", "flake8-comprehensions", "flake8-future-annotations", @@ -86,7 +85,9 @@ repos: "flake8-noqa", "flake8-return", "flake8-secure-coding-standard", - "flake8-eradicate", + # https://github.com/wemake-services/flake8-eradicate/issues/269 + # https://github.com/wemake-services/flake8-broken-line/pull/280 + # "flake8-eradicate", "flake8-encodings", "flake8-use-fstring", "flake8-use-pathlib", diff --git a/dev.requirements.txt b/dev.requirements.txt index 6ba8e818..ce4688e8 100644 --- a/dev.requirements.txt +++ b/dev.requirements.txt @@ -1,7 +1,7 @@ asgi-lifespan == 2.0.0 coverage[toml] == 6.5.0; python_version < '3.11' coverage == 6.5.0; python_version >= '3.11' -cryptography == 38.0.3 +cryptography == 38.0.4 pytest == 7.2.0 pytest-asyncio == 0.20.2 pytest-dotenv == 0.5.2 diff --git a/docs.requirements.txt b/docs.requirements.txt index 325dec01..5c97028c 100644 --- a/docs.requirements.txt +++ b/docs.requirements.txt @@ -5,4 +5,4 @@ mkdocs-literate-nav == 0.5.0 mkdocs-material == 8.5.10 mkdocs-section-index == 0.3.4 mkdocstrings[python] == 0.19.0 -pymdown-extensions == 9.8 +pymdown-extensions == 9.9 diff --git a/poetry.lock b/poetry.lock index 2eac727d..63ef5a13 100644 --- a/poetry.lock +++ b/poetry.lock @@ -103,8 +103,8 @@ dnspython = ">=1.15.0" idna = ">=2.0.0" [[package]] -name = "Faker" -version = "15.3.3" +name = "faker" +version = "15.3.4" description = "Faker is a Python package that generates fake data for you." category = "main" optional = false @@ -288,7 +288,7 @@ python-versions = ">=3.7" cli = ["click (>=5.0)"] [[package]] -name = "PyYAML" +name = "pyyaml" version = "6.0" description = "YAML parser and emitter for Python" category = "main" @@ -365,7 +365,7 @@ falcon = ["falcon (>=1.4)"] fastapi = ["fastapi (>=0.79.0)"] flask = ["blinker (>=1.1)", "flask (>=0.11)"] httpx = ["httpx (>=0.16.0)"] -pure_eval = ["asttokens", "executing", "pure-eval"] +pure-eval = ["asttokens", "executing", "pure-eval"] pymongo = ["pymongo (>=3.1)"] pyspark = ["pyspark (>=2.4.4)"] quart = ["blinker (>=1.1)", "quart (>=0.16.1)"] @@ -392,7 +392,7 @@ optional = false python-versions = ">=3.7" [[package]] -name = "SQLAlchemy" +name = "sqlalchemy" version = "2.0.0b3" description = "Database Abstraction Library" category = "main" @@ -408,27 +408,27 @@ aiomysql = ["aiomysql", "greenlet (!=0.4.17)"] aiosqlite = ["aiosqlite", "greenlet (!=0.4.17)", "typing-extensions (!=3.10.0.1)"] asyncio = ["greenlet (!=0.4.17)"] asyncmy = ["asyncmy (>=0.2.3,!=0.2.4)", "greenlet (!=0.4.17)"] -mariadb_connector = ["mariadb (>=1.0.1,!=1.1.2)"] +mariadb-connector = ["mariadb (>=1.0.1,!=1.1.2)"] mssql = ["pyodbc"] -mssql_pymssql = ["pymssql"] -mssql_pyodbc = ["pyodbc"] +mssql-pymssql = ["pymssql"] +mssql-pyodbc = ["pyodbc"] mypy = ["mypy (>=0.910)"] mysql = ["mysqlclient (>=1.4.0)"] -mysql_connector = ["mysql-connector-python"] +mysql-connector = ["mysql-connector-python"] oracle = ["cx-oracle (>=7)"] -oracle_oracledb = ["oracledb (>=1.0.1)"] +oracle-oracledb = ["oracledb (>=1.0.1)"] postgresql = ["psycopg2 (>=2.7)"] -postgresql_asyncpg = ["asyncpg", "greenlet (!=0.4.17)"] -postgresql_pg8000 = ["pg8000 (>=1.29.1)"] -postgresql_psycopg = ["psycopg (>=3.0.7)"] -postgresql_psycopg2binary = ["psycopg2-binary"] -postgresql_psycopg2cffi = ["psycopg2cffi"] +postgresql-asyncpg = ["asyncpg", "greenlet (!=0.4.17)"] +postgresql-pg8000 = ["pg8000 (>=1.29.1)"] +postgresql-psycopg = ["psycopg (>=3.0.7)"] +postgresql-psycopg2binary = ["psycopg2-binary"] +postgresql-psycopg2cffi = ["psycopg2cffi"] pymysql = ["pymysql"] sqlcipher = ["sqlcipher3-binary"] [[package]] name = "starlite" -version = "1.42.0" +version = "1.43.1" description = "Performant, light and flexible ASGI API Framework" category = "main" optional = false @@ -449,7 +449,8 @@ typing-extensions = "*" [package.extras] brotli = ["brotli"] cryptography = ["cryptography"] -full = ["brotli", "cryptography", "picologging", "structlog"] +full = ["brotli", "cryptography", "picologging", "python-jose", "redis[hiredis]", "structlog"] +jwt = ["cryptography", "python-jose"] memcached = ["aiomcache"] opentelemetry = ["opentelemetry-instrumentation-asgi"] picologging = ["picologging"] @@ -606,9 +607,9 @@ email-validator = [ {file = "email_validator-1.3.0-py2.py3-none-any.whl", hash = "sha256:816073f2a7cffef786b29928f58ec16cdac42710a53bb18aa94317e3e145ec5c"}, {file = "email_validator-1.3.0.tar.gz", hash = "sha256:553a66f8be2ec2dea641ae1d3f29017ab89e9d603d4a25cdaac39eefa283d769"}, ] -Faker = [ - {file = "Faker-15.3.3-py3-none-any.whl", hash = "sha256:b95b2423ef18d17dcd5977732a0bf0fbbde4937f10dce24ff804581f7f3ca4e9"}, - {file = "Faker-15.3.3.tar.gz", hash = "sha256:20d090e661bbe88a5d801ea5eb3d853564940352120c84c9a14968847aca2893"}, +faker = [ + {file = "Faker-15.3.4-py3-none-any.whl", hash = "sha256:c2a2ff9dd8dfd991109b517ab98d5cb465e857acb45f6b643a0e284a9eb2cc76"}, + {file = "Faker-15.3.4.tar.gz", hash = "sha256:2d5443724f640ce07658ca8ca8bbd40d26b58914e63eec6549727869aa67e2cc"}, ] greenlet = [ {file = "greenlet-2.0.1-cp27-cp27m-macosx_10_14_x86_64.whl", hash = "sha256:9ed358312e63bf683b9ef22c8e442ef6c5c02973f0c2a939ec1d7b50c974015c"}, @@ -905,7 +906,7 @@ python-dotenv = [ {file = "python-dotenv-0.21.0.tar.gz", hash = "sha256:b77d08274639e3d34145dfa6c7008e66df0f04b7be7a75fd0d5292c191d79045"}, {file = "python_dotenv-0.21.0-py3-none-any.whl", hash = "sha256:1684eb44636dd462b66c3ee016599815514527ad99965de77f43e0944634a7e5"}, ] -PyYAML = [ +pyyaml = [ {file = "PyYAML-6.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:d4db7c7aef085872ef65a8fd7d6d09a14ae91f691dec3e87ee5ee0539d516f53"}, {file = "PyYAML-6.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:9df7ed3b3d2e0ecfe09e14741b857df43adb5a3ddadc919a2d94fbdf78fea53c"}, {file = "PyYAML-6.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:77f396e6ef4c73fdc33a9157446466f1cff553d979bd00ecb64385760c6babdc"}, @@ -971,7 +972,7 @@ sniffio = [ {file = "sniffio-1.3.0-py3-none-any.whl", hash = "sha256:eecefdce1e5bbfb7ad2eeaabf7c1eeb404d7757c379bd1f7e5cce9d8bf425384"}, {file = "sniffio-1.3.0.tar.gz", hash = "sha256:e60305c5e5d314f5389259b7f22aaa33d8f7dee49763119234af3755c55b9101"}, ] -SQLAlchemy = [ +sqlalchemy = [ {file = "SQLAlchemy-2.0.0b3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:f0e0c31a2c9d7845e8ab6b7c8efba894400059cc35394be7a41e71937c0c1b0b"}, {file = "SQLAlchemy-2.0.0b3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:bb4d857a0a44cc63aef1f10054cc2ed418850c300513676cdd257b9c247ed5c2"}, {file = "SQLAlchemy-2.0.0b3-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d4f04d40aac08bd93bf6e0941d57a3b9cfd5af3e8e3aa1673e3b02b5c7b36b95"}, @@ -1015,8 +1016,8 @@ SQLAlchemy = [ {file = "SQLAlchemy-2.0.0b3.tar.gz", hash = "sha256:8325a4648e639cb2010199f64fad679d2f4ec8ce7e6f424ee1a41b07940cadb6"}, ] starlite = [ - {file = "starlite-1.42.0-py3-none-any.whl", hash = "sha256:7d1c41e6763b852a38c1af5b9d5babd75a99b14015682b696d5768e0ad05d143"}, - {file = "starlite-1.42.0.tar.gz", hash = "sha256:be9b7054d7251d094d031f4dbf8afdb46a993600f64375cd380c3e73ce01a9ad"}, + {file = "starlite-1.43.1-py3-none-any.whl", hash = "sha256:55af0ac6cd6cfaa3e4a5360f184c99dc3bf72d67cf148bf3f1597857966af7c7"}, + {file = "starlite-1.43.1.tar.gz", hash = "sha256:a67712db59113c3a043c1f25a65fd42e5f3c8f09974e6ea0e3c18085f6e909ac"}, ] starlite-multipart = [ {file = "starlite-multipart-1.2.0.tar.gz", hash = "sha256:9ba2108cfd47de07240dc90e55397080ec9ca0c6992ec1097a02dd32ba4ca593"},