Jair Henrique
f9b69d8da7
Remove tox reference from runtests.sh file
2024-01-22 23:17:25 -03:00
Jair Henrique
cb77cb8f69
Remove tox.ini file
2024-01-22 23:17:25 -03:00
Jair Henrique
e37fc9ab6e
Refactor ci main workflow to use matrix to run tests without tox
2024-01-22 23:17:25 -03:00
Jair Henrique
abbb50135f
Organize dependencies for tests and extras requires
2024-01-22 23:17:25 -03:00
Jair Henrique
0594de9b3e
Remove tox.ini from MANIFEST.in file
2024-01-22 23:17:25 -03:00
Jair Henrique
53f686aa5b
Refactor test to not use tox.ini file
2024-01-22 23:17:25 -03:00
pre-commit
1677154f04
pre-commit: Autoupdate
2024-01-22 23:14:05 -03:00
Allan Crooks
54bc6467eb
Run linters.
2024-01-22 23:13:10 -03:00
Allan Crooks
c5487384ee
Fix handling of encoded content in HTTPX stub.
...
Also copied over and adjusted some of the tests from
test_requests.py relating to gzipped handling to show
that the HTTPX stub is behaving in a consistent way to
how the requests stub is.
2024-01-22 23:13:10 -03:00
Allan Crooks
5cf23298ac
HTTPX stub now generates cassettes in the same format as other stubs.
...
As part of this, I've removed the tests which inspect the
data type of the response content in the cassette. That
behaviour should be controlled via the inbuilt serializers.
2024-01-22 23:13:10 -03:00
Allan Crooks
5fa7010712
Allow HTTPX stub to read cassettes generated by other stubs.
...
This was due to a custom format being defined in the HTTPX stub.
2024-01-22 23:13:10 -03:00
pre-commit
f1e0241673
pre-commit: Autoupdate
2024-01-05 16:36:48 -03:00
pre-commit
a3a255d606
pre-commit: Autoupdate
2024-01-02 10:58:59 -03:00
dependabot[bot]
0782382982
build(deps): bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-18 12:16:06 -03:00
dependabot[bot]
395d2be295
build(deps): bump actions/setup-python from 4 to 5
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-18 11:08:49 -03:00
pre-commit
b522d3f0a3
pre-commit: Autoupdate
2023-12-15 14:46:28 -03:00
Sebastian Pipping
713cb36d35
Merge pull request #800 from kevin1024/pre-commit-ci
...
Start using pre-commit in CI
2023-12-12 20:28:19 +01:00
Sebastian Pipping
b0cb8765d5
pre-commit: Add --show-source to ruff
...
Suggested by Jair Henrique.
2023-12-12 20:01:09 +01:00
Sebastian Pipping
97ad51fe6c
pre-commit: Enable trailing-whitespace
2023-12-12 20:01:09 +01:00
Sebastian Pipping
1dd9cbde8b
pre-commit: Mass-apply trailing-whitespace
2023-12-12 20:01:09 +01:00
Sebastian Pipping
962284072b
pre-commit: Enable end-of-file-fixer
2023-12-12 19:01:50 +01:00
Sebastian Pipping
e9102b2bb4
pre-commit: Mass-apply end-of-file-fixer
2023-12-12 19:01:50 +01:00
Sebastian Pipping
957c8bd7a3
pre-commit: Protect against accidental merge conflict markers
2023-12-12 19:01:50 +01:00
Sebastian Pipping
2d5f8a499e
lint.yml: Drop as superseded by pre-commit.yml
2023-12-12 19:01:50 +01:00
Sebastian Pipping
e5555a5d5b
pre-commit: Make CI keep keep the config up to date via pull requests
2023-12-12 19:01:50 +01:00
Sebastian Pipping
a542567e4a
pre-commit: Integrate with GitHub Actions CI
2023-12-12 19:01:50 +01:00
Sebastian Pipping
3168e7813e
pre-commit: Enable Ruff and Ruff Black-style formatting
2023-12-12 19:00:57 +01:00
Jair Henrique
88cf01aa14
Fix format code
2023-12-12 14:24:22 -03:00
Parker Hancock
85ae012d9c
fix linting
2023-12-12 14:24:22 -03:00
Parker Hancock
db1e9e7180
make cassettes human readable
2023-12-12 14:24:22 -03:00
Jair Henrique
dbf7a3337b
Show ruff diff errors
2023-12-12 13:58:25 -03:00
dependabot[bot]
dd97b02b72
build(deps): bump sphinx-rtd-theme from 1.3.0 to 2.0.0
...
Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme ) from 1.3.0 to 2.0.0.
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst )
- [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/1.3.0...2.0.0 )
---
updated-dependencies:
- dependency-name: sphinx-rtd-theme
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-11 11:27:04 -03:00
dependabot[bot]
e8346ad30e
build(deps): bump actions/setup-python from 4 to 5
...
Bumps [actions/setup-python](https://github.com/actions/setup-python ) from 4 to 5.
- [Release notes](https://github.com/actions/setup-python/releases )
- [Commits](https://github.com/actions/setup-python/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/setup-python
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-11 10:42:13 -03:00
Sebastian Pipping
6a31904333
Merge pull request #789 from kevin1024/fix-imports-to-assertions-py
...
tests: Fix imports to `tests/assertions.py` (fixes #773 )
2023-12-11 00:58:01 +01:00
Jair Henrique
796dc8de7e
Move lint from tox to gh action
2023-12-10 20:48:01 -03:00
Sebastian Pipping
ecb5d84f0f
tests: Fix imports to tests/assertions.py
2023-12-11 00:36:46 +01:00
Jair Henrique
cebdd45849
Use ruff to check code format intead of black
2023-12-10 20:12:09 -03:00
Sebastian Pipping
8a8d46f130
Merge pull request #775 from kevin1024/python-3-12
...
Finish up on Python 3.12 support
2023-12-10 23:49:46 +01:00
Sebastian Pipping
954a100dfd
Finish up on Python 3.12 support
2023-12-10 23:33:30 +01:00
Sebastian Pipping
604c0be571
Merge pull request #787 from kevin1024/fix-pypy-3-10
...
Fix CI / Block urllib3 >=2 for PyPy (alternative to #786 )
2023-12-10 23:32:23 +01:00
Sebastian Pipping
0e57182207
setup.py: Block urllib3 >=2 for PyPy (including 3.10)
...
It kept failing CI
2023-12-08 23:05:09 +01:00
Rob Brackett
c062c9f54c
Remove spaces at end-of-line in changelog
...
This matches the project's `.editorconfig` rules.
2023-12-08 16:59:39 -03:00
Rob Brackett
2abf1188a9
Fix list formatting in v5.1.0 changelog
...
The list of changes was not indented enough, and so didn't actually get formatted as a list when rendering HTML, which left it pretty unreadable. This also adds a blank line between the last 4.x version and 5.0.0 to match the extra blank lines between other major versions.
2023-12-08 16:59:39 -03:00
dependabot[bot]
2b2935a1e7
build(deps): bump sphinx-rtd-theme from 1.2.2 to 1.3.0
...
Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme ) from 1.2.2 to 1.3.0.
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst )
- [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/1.2.2...1.3.0 )
---
updated-dependencies:
- dependency-name: sphinx-rtd-theme
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-08 16:39:02 -03:00
dependabot[bot]
a8545c89a5
build(deps): bump actions/checkout from 3 to 4
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-12-08 16:38:47 -03:00
Parker Hancock
5532c0b4cf
more attempts to make the linters happy
2023-12-08 16:38:33 -03:00
Parker Hancock
f4467a8d6c
make linters happy
2023-12-08 16:38:33 -03:00
Parker Hancock
f5fc7aac22
fix tests
2023-12-08 16:38:33 -03:00
Parker Hancock
e8e9a4af9f
remove unnecssary comment
2023-12-08 16:38:33 -03:00
Parker Hancock
7bf8f65815
fixes for httpx
2023-12-08 16:38:33 -03:00