Commit Graph

38 Commits

Author SHA1 Message Date
Andrea Grandi
d6f97011be Prepare release 0.1.8 2023-04-07 15:10:39 +02:00
Paul Sanders
3a4f65901e Loosen restriction on the limits dependency 2023-04-06 12:46:21 -04:00
renovate[bot]
e4adfc14c9 Update dependency black to v23 2023-03-30 08:46:28 +00:00
Paul Sanders
a55faf7529 Fix redis install error 2023-03-11 20:57:32 -05:00
Paul Sanders
cb7f61c666 Update dev dependencies to support python 3.11 2023-01-09 08:37:32 -05:00
Laurent Savaete
f5df4f8560 Explicitly depend on setuptools to fix CI error 2022-11-23 15:08:57 +01:00
Laurent Savaete
2cb329dc93 Update dependencies 2022-11-09 11:14:36 +01:00
Joris Hartog
c21ba98dcb Add support for custom cost per hit
This commit adds a `cost` keyword to the `limit` and `shared_limit`
decorators which sets the cost of a hit.

This uses the `cost` keyword that was introduced in `limits` version
2.3.0, so this commit also updates the `limits` dependency from `^1.5`
to `^2.3`.

Closes #94, #106
2022-08-26 23:40:00 +02:00
Laurent Savaete
26a187fbcd Merge pull request #108 from laurentS/release-0.1.6 2022-08-24 12:45:54 +03:00
Trevor Currie
078c55cacd release - 0.1.6 Updating change log and version. 2022-08-19 23:12:12 -07:00
dependabot[bot]
43b471a0fe Bump lxml from 4.9.0 to 4.9.1
Bumps [lxml](https://github.com/lxml/lxml) from 4.9.0 to 4.9.1.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.9.0...lxml-4.9.1)

---
updated-dependencies:
- dependency-name: lxml
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-06 21:52:53 +00:00
Trevor Currie
06e5f732d0 Merge remote-tracking branch 'origin/master' into unusedImports
# Conflicts:
#	poetry.lock
2022-06-16 23:23:17 +02:00
Trevor Currie
74fc1652a7 Adding workflow to enforce no unused imports. 2022-06-16 23:23:03 +02:00
Tarun Sharma
af97b0a4ec Merge branch 'master' into master 2022-06-17 00:05:49 +05:30
Tarun Sharma
5307c6b3cd fix: update black@latest for click recent errors 2022-06-16 23:27:05 +05:30
Tarun Sharma
97f42a7f33 fix: add redis as extras 2022-05-24 16:37:20 +05:30
Karl Newell
47fccea044 feature(coverage): Add Python test coverage
Add test coverage via `coverage` package.
Update workflow to run pytest via coverage and output coverage report.
Drops Python 3.6 - which is also an open issue and coverage required
dropping 3.6

Closes #82 #83
2022-02-01 09:12:53 -07:00
dependabot[bot]
b5590ba8c1 Bump lxml from 4.6.3 to 4.6.5
Bumps [lxml](https://github.com/lxml/lxml) from 4.6.3 to 4.6.5.
- [Release notes](https://github.com/lxml/lxml/releases)
- [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt)
- [Commits](https://github.com/lxml/lxml/compare/lxml-4.6.3...lxml-4.6.5)

---
updated-dependencies:
- dependency-name: lxml
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-18 17:06:26 +00:00
dependabot[bot]
80dfca9998 Bump mkdocs from 1.2.2 to 1.2.3
Bumps [mkdocs](https://github.com/mkdocs/mkdocs) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/mkdocs/mkdocs/releases)
- [Commits](https://github.com/mkdocs/mkdocs/compare/1.2.2...1.2.3)

---
updated-dependencies:
- dependency-name: mkdocs
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-18 16:53:56 +00:00
Reuben Thomas-Davis
6057d31e2d ⬆️ upgrade black, increase min python version to 3.6.2 to support new black versoin 2021-11-13 23:42:29 +00:00
Reuben Thomas-Davis
f07205b305 ⬆️ upgrade pytest version for python 3.10 2021-11-13 23:26:07 +00:00
Laurent Savaete
532acbe622 Merge pull request #61 from laurentS/add-python3.9-support
Add python3.9 support
2021-08-31 00:53:05 +01:00
Laurent Savaete
bbe6d11f1e Add missing stubs for redis 2021-08-28 19:56:11 +01:00
Laurent Savaete
e95aa1f13c Upgrade mypy 2021-08-28 19:27:17 +01:00
Laurent Savaete
281bde006d Release 0.1.5 2021-08-28 16:42:27 +01:00
Fabian Affolter
fe165f2d47 Switch to poetry-core 2021-07-06 20:02:20 +02:00
Laurent Savaete
467dbb5fd1 Release 0.1.4 2021-02-21 22:46:23 +00:00
Laurent Savaete
19624e1f0c Release 0.1.3 2020-12-23 22:32:39 +00:00
Laurent Savaete
fe5d7aa402 Release 0.1.2 2020-10-01 23:52:04 +01:00
Laurent Savaete
f21df6d912 Update dependencies on starlette and fastapi 2020-10-01 23:50:51 +01:00
Laurent Savaete
b344000524 Configure isort to be black compatible
See https://black.readthedocs.io/en/stable/compatible_configs.html
2020-10-01 17:19:24 +01:00
Laurent Savaete
da9cba95e6 Add api documentation using mkautodoc 2020-10-01 16:46:04 +01:00
Laurent Savaete
15483e3b1e Setup documentation on readthedocs 2020-10-01 13:45:26 +01:00
Laurent Savaete
b82536a669 Fix black and mypy errors 2020-09-28 00:53:41 +01:00
Laurent Savaete
82b04f02af Release 0.1.1 2020-03-11 00:02:24 +00:00
Laurent Savaete
3da4b8409b Update dependencies on starlette (0.13.2) and fastapi (0.52.0) 2020-03-10 21:34:37 +00:00
Laurent Savaete
eca2a6f1e4 Add marker for mypy to see the code as annotated 2020-02-21 16:46:17 +00:00
Laurent Savaete
9880ff7625 First version 2020-02-21 13:51:35 +00:00