Skip to content

Commit

Permalink
add-concurrency-test
Browse files Browse the repository at this point in the history
  • Loading branch information
tomwojcik committed Nov 26, 2022
1 parent 7e1545b commit 030e972
Show file tree
Hide file tree
Showing 5 changed files with 179 additions and 86 deletions.
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ fail_fast: false

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
rev: v4.4.0
hooks:
- id: debug-statements
- id: check-added-large-files
Expand All @@ -13,7 +13,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/ambv/black
rev: 22.3.0
rev: 22.10.0
hooks:
- id: black
language_version: python3
Expand All @@ -22,7 +22,7 @@ repos:
types: [ python ]

- repo: https://github.com/myint/docformatter
rev: v1.4
rev: v1.5.0
hooks:
- id: docformatter
args: ['--in-place', '--wrap-summaries=78', '--wrap-descriptions=78', '--pre-summary-newline']
Expand All @@ -35,17 +35,17 @@ repos:
exclude: '__init__.py'

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.960
rev: v0.991
hooks:
- id: mypy
files: ^starlette_context/

- repo: https://github.com/pycqa/flake8
rev: 4.0.1
rev: 6.0.0
hooks:
- id: flake8

- repo: https://github.com/asottile/pyupgrade
rev: v2.32.1
rev: v3.2.2
hooks:
- id: pyupgrade
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ minor:
upgrade-deps:
pre-commit autoupdate
pip-compile --upgrade requirements-dev.in

deps:
pip-compile requirements-dev.in
3 changes: 2 additions & 1 deletion requirements-dev.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
starlette
requests
asgi-lifespan
httpx
pytest
pytest-cov
pytest-sugar
Expand Down
159 changes: 80 additions & 79 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,136 +1,144 @@
#
# This file is autogenerated by pip-compile
# This file is autogenerated by pip-compile with python 3.9
# To update, run:
#
# pip-compile requirements-dev.in
#
alabaster==0.7.12
# via sphinx
anyio==3.6.1
# via starlette
attrs==21.4.0
anyio==3.6.2
# via
# httpcore
# starlette
asgi-lifespan==2.0.0
# via -r requirements-dev.in
attrs==22.1.0
# via pytest
babel==2.10.1
babel==2.11.0
# via sphinx
build==0.9.0
# via pip-tools
bump2version==1.0.1
# via -r requirements-dev.in
certifi==2022.5.18.1
# via requests
certifi==2022.9.24
# via
# httpcore
# httpx
# requests
cfgv==3.3.1
# via pre-commit
charset-normalizer==2.0.12
charset-normalizer==2.1.1
# via requests
click==8.1.3
# via pip-tools
codecov==2.1.12
# via -r requirements-dev.in
coverage[toml]==6.4.1
coverage[toml]==6.5.0
# via
# codecov
# pytest-cov
distlib==0.3.4
distlib==0.3.6
# via virtualenv
docutils==0.17.1
# via
# sphinx
# sphinx-rtd-theme
exceptiongroup==1.0.4
# via pytest
execnet==1.9.0
# via pytest-xdist
filelock==3.7.1
filelock==3.8.0
# via virtualenv
identify==2.5.1
h11==0.14.0
# via httpcore
httpcore==0.16.2
# via httpx
httpx==0.23.1
# via -r requirements-dev.in
identify==2.5.9
# via pre-commit
idna==3.3
idna==3.4
# via
# anyio
# requests
imagesize==1.3.0
# rfc3986
imagesize==1.4.1
# via sphinx
importlib-metadata==5.1.0
# via sphinx
importlib-metadata==4.11.4
# via
# click
# pep517
# pluggy
# pre-commit
# pytest
# sphinx
# virtualenv
iniconfig==1.1.1
# via pytest
jinja2==3.1.2
# via sphinx
markupsafe==2.1.1
# via jinja2
nodeenv==1.6.0
nodeenv==1.7.0
# via pre-commit
packaging==21.3
# via
# build
# pytest
# pytest-sugar
# sphinx
pep517==0.12.0
# via pip-tools
pip-tools==6.6.2
pep517==0.13.0
# via build
pip-tools==6.10.0
# via -r requirements-dev.in
platformdirs==2.5.2
platformdirs==2.5.4
# via virtualenv
pluggy==1.0.0
# via pytest
pre-commit-hooks==4.2.0
pre-commit==2.20.0
# via -r requirements-dev.in
pre-commit==2.19.0
pre-commit-hooks==4.4.0
# via -r requirements-dev.in
py==1.11.0
# via
# pytest
# pytest-forked
pygments==2.12.0
pygments==2.13.0
# via sphinx
pyparsing==3.0.9
# via packaging
pytest-asyncio==0.18.3
# via -r requirements-dev.in
pytest-cov==3.0.0
# via -r requirements-dev.in
pytest-forked==1.4.0
# via pytest-xdist
pytest-sugar==0.9.4
# via -r requirements-dev.in
pytest-xdist==2.5.0
# via -r requirements-dev.in
pytest==7.1.2
pytest==7.2.0
# via
# -r requirements-dev.in
# pytest-asyncio
# pytest-cov
# pytest-forked
# pytest-sugar
# pytest-xdist
pytz==2022.1
pytest-asyncio==0.20.2
# via -r requirements-dev.in
pytest-cov==4.0.0
# via -r requirements-dev.in
pytest-sugar==0.9.6
# via -r requirements-dev.in
pytest-xdist==3.0.2
# via -r requirements-dev.in
pytz==2022.6
# via babel
pyyaml==6.0
# via pre-commit
requests==2.27.1
requests==2.28.1
# via
# -r requirements-dev.in
# codecov
# sphinx
ruamel.yaml.clib==0.2.6
# via ruamel.yaml
ruamel.yaml==0.17.21
rfc3986[idna2008]==1.5.0
# via httpx
ruamel-yaml==0.17.21
# via pre-commit-hooks
six==1.16.0
# via virtualenv
sniffio==1.2.0
# via anyio
ruamel-yaml-clib==0.2.7
# via ruamel-yaml
sniffio==1.3.0
# via
# anyio
# asgi-lifespan
# httpcore
# httpx
snowballstemmer==2.2.0
# via sphinx
sphinx-rtd-theme==1.0.0
# via -r requirements-dev.in
sphinx==5.0.1
sphinx==5.3.0
# via
# -r requirements-dev.in
# sphinx-rtd-theme
sphinx-rtd-theme==1.1.1
# via -r requirements-dev.in
sphinxcontrib-applehelp==1.0.2
# via sphinx
sphinxcontrib-devhelp==1.0.2
Expand All @@ -143,35 +151,28 @@ sphinxcontrib-qthelp==1.0.3
# via sphinx
sphinxcontrib-serializinghtml==1.1.5
# via sphinx
starlette==0.20.1
starlette==0.22.0
# via -r requirements-dev.in
termcolor==1.1.0
termcolor==2.1.1
# via pytest-sugar
toml==0.10.2
# via
# pre-commit
# pre-commit-hooks
# via pre-commit
tomli==2.0.1
# via
# build
# coverage
# pep517
# pre-commit-hooks
# pytest
typing-extensions==4.2.0
# via
# anyio
# importlib-metadata
# pytest-asyncio
# starlette
urllib3==1.26.9
typing-extensions==4.4.0
# via starlette
urllib3==1.26.13
# via requests
virtualenv==20.14.1
virtualenv==20.16.7
# via pre-commit
wheel==0.37.1
wheel==0.38.4
# via pip-tools
zipp==3.8.0
# via
# importlib-metadata
# pep517
zipp==3.11.0
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# pip
Expand Down
Loading

0 comments on commit 030e972

Please sign in to comment.