Skip to content

Commit

Permalink
Development ergonomics (#140)
Browse files Browse the repository at this point in the history
* Development ergonomics changes
  • Loading branch information
blinkdog authored Mar 22, 2023
1 parent b1164b0 commit 83913f2
Show file tree
Hide file tree
Showing 7 changed files with 57 additions and 169 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,8 @@ venv.bak/
# Vagrant
.vagrant

src/
# ruff is flake8 re-written in Rust for speed
.ruff_cache

# Patrick development ergonomics
/suru
56 changes: 31 additions & 25 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,25 @@ certifi==2022.12.7
# via requests
cffi==1.15.1
# via cryptography
charset-normalizer==3.0.1
charset-normalizer==3.1.0
# via
# aiohttp
# requests
coloredlogs==15.0.1
# via
# wipac-file-catalog (setup.py)
# wipac-telemetry
coverage[toml]==7.1.0
coverage[toml]==7.2.2
# via pytest-cov
crawler==0.0.2
# via wipac-file-catalog (setup.py)
cryptography==39.0.1
cryptography==39.0.2
# via pyjwt
deprecated==1.2.13
# via opentelemetry-api
dnspython==2.3.0
# via pymongo
exceptiongroup==1.1.0
exceptiongroup==1.1.1
# via pytest
flake8==6.0.0
# via wipac-file-catalog (setup.py)
Expand All @@ -52,56 +52,58 @@ googleapis-common-protos==1.56.2
# via
# opentelemetry-exporter-jaeger-proto-grpc
# opentelemetry-exporter-otlp-proto-http
grpcio==1.51.1
grpcio==1.51.3
# via opentelemetry-exporter-jaeger-proto-grpc
humanfriendly==10.0
# via coloredlogs
idna==3.4
# via
# requests
# yarl
importlib-metadata==6.0.1
# via opentelemetry-api
iniconfig==2.0.0
# via pytest
ldap3==2.9.1
# via wipac-file-catalog (setup.py)
mccabe==0.7.0
# via flake8
more-itertools==9.0.0
more-itertools==9.1.0
# via wipac-file-catalog (setup.py)
motor==3.1.1
# via wipac-file-catalog (setup.py)
multidict==6.0.4
# via
# aiohttp
# yarl
mypy==1.0.1
mypy==1.1.1
# via wipac-file-catalog (setup.py)
mypy-extensions==1.0.0
# via mypy
opentelemetry-api==1.16.0
opentelemetry-api==1.17.0
# via
# opentelemetry-exporter-jaeger-proto-grpc
# opentelemetry-exporter-jaeger-thrift
# opentelemetry-exporter-otlp-proto-http
# opentelemetry-sdk
# wipac-telemetry
opentelemetry-exporter-jaeger==1.16.0
opentelemetry-exporter-jaeger==1.17.0
# via wipac-telemetry
opentelemetry-exporter-jaeger-proto-grpc==1.16.0
opentelemetry-exporter-jaeger-proto-grpc==1.17.0
# via opentelemetry-exporter-jaeger
opentelemetry-exporter-jaeger-thrift==1.16.0
opentelemetry-exporter-jaeger-thrift==1.17.0
# via opentelemetry-exporter-jaeger
opentelemetry-exporter-otlp-proto-http==1.16.0
opentelemetry-exporter-otlp-proto-http==1.17.0
# via wipac-telemetry
opentelemetry-proto==1.16.0
opentelemetry-proto==1.17.0
# via opentelemetry-exporter-otlp-proto-http
opentelemetry-sdk==1.16.0
opentelemetry-sdk==1.17.0
# via
# opentelemetry-exporter-jaeger-proto-grpc
# opentelemetry-exporter-jaeger-thrift
# opentelemetry-exporter-otlp-proto-http
# wipac-telemetry
opentelemetry-semantic-conventions==0.37b0
opentelemetry-semantic-conventions==0.38b0
# via opentelemetry-sdk
packaging==23.0
# via pytest
Expand All @@ -128,12 +130,12 @@ pymongo==4.3.3
# wipac-file-catalog (setup.py)
pypng==0.20220715.0
# via qrcode
pytest==7.2.1
pytest==7.2.2
# via
# pytest-asyncio
# pytest-cov
# wipac-file-catalog (setup.py)
pytest-asyncio==0.20.3
pytest-asyncio==0.21.0
# via wipac-file-catalog (setup.py)
pytest-cov==4.0.0
# via wipac-file-catalog (setup.py)
Expand All @@ -153,6 +155,8 @@ requests-futures==1.0.0
# wipac-rest-tools
requests-toolbelt==0.10.1
# via wipac-file-catalog (setup.py)
ruff==0.0.257
# via wipac-file-catalog (setup.py)
six==1.16.0
# via thrift
thrift==0.16.0
Expand All @@ -168,13 +172,13 @@ tornado==6.2
# wipac-rest-tools
types-cryptography==3.3.23.2
# via pyjwt
types-pymysql==1.0.19.3
types-pymysql==1.0.19.5
# via wipac-file-catalog (setup.py)
types-python-dateutil==2.8.19.7
types-python-dateutil==2.8.19.10
# via wipac-file-catalog (setup.py)
types-requests==2.28.11.13
types-requests==2.28.11.15
# via wipac-file-catalog (setup.py)
types-urllib3==1.26.25.6
types-urllib3==1.26.25.8
# via types-requests
typing-extensions==4.5.0
# via
Expand All @@ -183,20 +187,22 @@ typing-extensions==4.5.0
# qrcode
# wipac-dev-tools
# wipac-telemetry
urllib3==1.26.14
urllib3==1.26.15
# via requests
wipac-dev-tools==1.6.12
wipac-dev-tools==1.6.13
# via
# wipac-rest-tools
# wipac-telemetry
wipac-rest-tools[telemetry]==1.4.12
wipac-rest-tools[telemetry]==1.4.16
# via wipac-file-catalog (setup.py)
wipac-telemetry==0.2.5
# via wipac-rest-tools
wrapt==1.14.1
wrapt==1.15.0
# via deprecated
yarl==1.8.2
# via aiohttp
zipp==3.15.0
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# setuptools
34 changes: 19 additions & 15 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ certifi==2022.12.7
# via requests
cffi==1.15.1
# via cryptography
charset-normalizer==3.0.1
charset-normalizer==3.1.0
# via requests
coloredlogs==15.0.1
# via
# wipac-file-catalog (setup.py)
# wipac-telemetry
cryptography==39.0.1
cryptography==39.0.2
# via pyjwt
deprecated==1.2.13
# via opentelemetry-api
Expand All @@ -28,40 +28,42 @@ googleapis-common-protos==1.56.2
# via
# opentelemetry-exporter-jaeger-proto-grpc
# opentelemetry-exporter-otlp-proto-http
grpcio==1.51.1
grpcio==1.51.3
# via opentelemetry-exporter-jaeger-proto-grpc
humanfriendly==10.0
# via coloredlogs
idna==3.4
# via requests
importlib-metadata==6.0.1
# via opentelemetry-api
ldap3==2.9.1
# via wipac-file-catalog (setup.py)
motor==3.1.1
# via wipac-file-catalog (setup.py)
opentelemetry-api==1.16.0
opentelemetry-api==1.17.0
# via
# opentelemetry-exporter-jaeger-proto-grpc
# opentelemetry-exporter-jaeger-thrift
# opentelemetry-exporter-otlp-proto-http
# opentelemetry-sdk
# wipac-telemetry
opentelemetry-exporter-jaeger==1.16.0
opentelemetry-exporter-jaeger==1.17.0
# via wipac-telemetry
opentelemetry-exporter-jaeger-proto-grpc==1.16.0
opentelemetry-exporter-jaeger-proto-grpc==1.17.0
# via opentelemetry-exporter-jaeger
opentelemetry-exporter-jaeger-thrift==1.16.0
opentelemetry-exporter-jaeger-thrift==1.17.0
# via opentelemetry-exporter-jaeger
opentelemetry-exporter-otlp-proto-http==1.16.0
opentelemetry-exporter-otlp-proto-http==1.17.0
# via wipac-telemetry
opentelemetry-proto==1.16.0
opentelemetry-proto==1.17.0
# via opentelemetry-exporter-otlp-proto-http
opentelemetry-sdk==1.16.0
opentelemetry-sdk==1.17.0
# via
# opentelemetry-exporter-jaeger-proto-grpc
# opentelemetry-exporter-jaeger-thrift
# opentelemetry-exporter-otlp-proto-http
# wipac-telemetry
opentelemetry-semantic-conventions==0.37b0
opentelemetry-semantic-conventions==0.38b0
# via opentelemetry-sdk
protobuf==3.20.3
# via
Expand Down Expand Up @@ -112,18 +114,20 @@ typing-extensions==4.5.0
# qrcode
# wipac-dev-tools
# wipac-telemetry
urllib3==1.26.14
urllib3==1.26.15
# via requests
wipac-dev-tools==1.6.12
wipac-dev-tools==1.6.13
# via
# wipac-rest-tools
# wipac-telemetry
wipac-rest-tools[telemetry]==1.4.12
wipac-rest-tools[telemetry]==1.4.16
# via wipac-file-catalog (setup.py)
wipac-telemetry==0.2.5
# via wipac-rest-tools
wrapt==1.14.1
wrapt==1.15.0
# via deprecated
zipp==3.15.0
# via importlib-metadata

# The following packages are considered to be unsafe in a requirements file:
# setuptools
42 changes: 0 additions & 42 deletions resources/check_requirements.py

This file was deleted.

1 change: 1 addition & 0 deletions ruff.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ignore = ["E501"]
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ dev =
pytest
pytest-asyncio
pytest-cov
ruff
types-PyMySQL
types-python-dateutil
types-requests
Expand Down
Loading

0 comments on commit 83913f2

Please sign in to comment.