diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fa096eb7..9cab54ea 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,8 +24,6 @@ jobs: - name: Lint with ruff run: make lint-ruff - - name: Lint with black - run: make lint-black - name: Lint with mypy run: make lint-mypy diff --git a/Makefile b/Makefile index d385af49..7b3e8520 100644 --- a/Makefile +++ b/Makefile @@ -21,19 +21,13 @@ pip-sync: # lint -fmt-black: - black streaming_form_data/*.py tests/ utils/ examples/**/*.py - -lint-black: - black --check streaming_form_data/*.py tests/ utils/ examples/**/*.py - lint-ruff: ruff check streaming_form_data/ tests/ examples/ lint-mypy: mypy streaming_form_data/ -lint: lint-ruff lint-black lint-mypy +lint: lint-ruff lint-mypy # test @@ -53,6 +47,6 @@ speed-test: .PHONY: clean \ annotate compile \ pip-compile pip-sync \ - lint-black lint-flake8 lint-mypy lint \ + lint-mypy lint-ruff lint \ test-pytest test \ speed-test profile diff --git a/README.md b/README.md index ef9aadbe..b2df0959 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,9 @@ # Streaming multipart/form-data parser [![image](https://github.com/siddhantgoel/streaming-form-data/actions/workflows/test.yml/badge.svg)](https://github.com/siddhantgoel/streaming-form-data/actions/workflows/test.yml) [![image](https://github.com/siddhantgoel/streaming-form-data/actions/workflows/build.yml/badge.svg)](https://github.com/siddhantgoel/streaming-form-data/actions/workflows/build.yml) - [![image](https://img.shields.io/pypi/v/streaming-form-data.svg)](https://pypi.python.org/pypi/streaming-form-data) - [![image](https://img.shields.io/pypi/pyversions/streaming-form-data.svg)](https://pypi.python.org/pypi/streaming-form-data) - -[![image](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) +[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) `streaming_form_data` provides a Python parser for parsing `multipart/form-data` input chunks (the encoding used when submitting data over HTTP through HTML diff --git a/requirements.in b/requirements.in index a2e548e2..3d641797 100644 --- a/requirements.in +++ b/requirements.in @@ -1,4 +1,3 @@ -black==24.4.2 cython==3.0.10 mkdocs==1.6.0 moto==5.0.11 diff --git a/requirements.txt b/requirements.txt index 37159a53..f5ea6413 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,32 +4,28 @@ # # pip-compile requirements.in # -black==24.4.2 - # via -r requirements.in -boto3==1.34.149 +boto3==1.35.33 # via moto -botocore==1.34.149 +botocore==1.35.33 # via # boto3 # moto # s3transfer -certifi==2024.7.4 +certifi==2024.8.30 # via requests -cffi==1.16.0 +cffi==1.17.1 # via cryptography charset-normalizer==3.3.2 # via requests click==8.1.7 - # via - # black - # mkdocs + # via mkdocs cryptography==43.0.1 # via moto cython==3.0.10 # via -r requirements.in ghp-import==2.1.0 # via mkdocs -idna==3.7 +idna==3.10 # via requests iniconfig==2.0.0 # via pytest @@ -41,7 +37,7 @@ jmespath==1.0.1 # via # boto3 # botocore -markdown==3.6 +markdown==3.7 # via mkdocs markupsafe==2.1.5 # via @@ -61,22 +57,15 @@ moto==5.0.11 mypy==1.11.0 # via -r requirements.in mypy-extensions==1.0.0 - # via - # black - # mypy + # via mypy packaging==24.1 # via - # black # mkdocs # pytest pathspec==0.12.1 - # via - # black - # mkdocs -platformdirs==4.2.2 - # via - # black - # mkdocs-get-deps + # via mkdocs +platformdirs==4.3.6 + # via mkdocs-get-deps pluggy==1.5.0 # via pytest pycparser==2.22 @@ -88,7 +77,7 @@ python-dateutil==2.9.0.post0 # botocore # ghp-import # moto -pyyaml==6.0.1 +pyyaml==6.0.2 # via # mkdocs # mkdocs-get-deps @@ -119,9 +108,9 @@ urllib3==1.26.19 # botocore # requests # responses -watchdog==4.0.1 +watchdog==5.0.3 # via mkdocs -werkzeug==3.0.3 +werkzeug==3.0.4 # via moto wheel==0.43.0 # via -r requirements.in