Skip to content

Commit

Permalink
chore: remove black
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhantgoel committed Oct 4, 2024
1 parent 2969118 commit d973bff
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 40 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
10 changes: 2 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 0 additions & 1 deletion requirements.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
black==24.4.2
cython==3.0.10
mkdocs==1.6.0
moto==5.0.11
Expand Down
39 changes: 14 additions & 25 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -41,7 +37,7 @@ jmespath==1.0.1
# via
# boto3
# botocore
markdown==3.6
markdown==3.7
# via mkdocs
markupsafe==2.1.5
# via
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d973bff

Please sign in to comment.