* Add a context manager test
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* `IS_WINDOWS` must also be True for cygwin environments. Addresses #1169
* Give an acceptor join timeout of 10 seconds instead of None
* Reduce timeout to just 1 sec
* Install necessary types (requests is translative dep)
* Remove conflicting types
* Give precommit the necessary type
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Add plugin tests, responses notebook and enhancements to `build_http_packet`
* Add js code snip for ws example
* Fix tests
* ignore all ipynb from codespell
* ignore all ipynb from codespell
* Fix tests and doc spell
* Add a response generation jupyter notebook
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Make codespell happy
* precommit codespell exclude
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Add a skeleton app structure
* Update `README.md` for skeleton app
* Add `skeleton-app` to pre commit
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update readme
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* isort `proxy.py` main class
* isort init and main
* isort common
* pre-commit fix
* isort dashboard and testing
* isort plugins
* isort core
* Only sort top level http py files
* isort http exception and websocket
* Remove proxy auth plugin from proxy package exports and force discover `PLUGIN_PROXY_AUTH` flags
* isort parser and web server
* no setattr
* isort all
* Enable pre-commit isort hook
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Add benchmarks for `proxy.py`, `tornado`, `aiohttp`, `flask`
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Lint happy
* Disable W0223 for tornado
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Add a no-op check job to GHA for branch protection
This patch adds an "empty" job that depends on all the important ones
making it possible to use just this `check` job in the branch
protection settings. This reduces the maintenance burden by preventing
the need to update these settings on any changes to the job
declarations.
* Add a config for YAMLLint
* Add a config for flake8
* Add an initial auto-generated PyLint config
* Align pylint line length settings in with flake8
* Colorize the pylint report output
* Correct spelling mistakes caught by `codespell`
* Disable all currently violated PyLint rules
* Start managing the linters setup with pre-commit
Co-authored-by: Abhinav Singh <mailsforabhinav@gmail.com>