Commit graph

12 commits

Author SHA1 Message Date
Aarni Koskela
2bf2118232 Add crate-ci/typos to pre-commit; fix typos 2025-12-19 12:06:17 +02:00
Matt Seymour
0819957676 Allow conn_max_age to accept None for flexibility in configuration 2025-07-11 17:15:17 +01:00
Matt Seymour
cdb5d645ec
Update tests 2025-04-30 14:13:38 +01:00
Matt Seymour
15ac40b0a7
Fix pyright issues 2025-04-30 14:08:18 +01:00
Matt Seymour
c469885ebf
Merge branch 'master' into master 2025-04-30 13:29:15 +01:00
Adam Johnson
5f5af49340
Fix type errors (#261)
First, Mypy reported a lot of issues for the tests not including  `-> None` annotations. After adding them, there were lots of issues due to the `url` variables being reassigned from `str` to `DBConfig` objects, fixed by inlining the URLs into the `parse()` calls.
2025-02-16 07:53:52 +00:00
Tom Parker-Shemilt
99128b507b
Make config test options not unknown types (#252)
* Make config test options not unknown types
* Run pyright as part of tests
2024-10-10 22:45:31 +01:00
Alexander Gerbik
b27bd63e82 Generic backend registration 2024-02-29 14:09:10 +01:00
truongvan
0879f127b9
Enhance Query String Parsing for Server-Side Binding in Django 4.2 with psycopg 3.1.8+ Resolves #234 (#235)
* Refactor parsing of query string to handle int, bool, and text types
2023-12-09 09:39:35 +00:00
Fabian Binz
44bfba5fa2
Add disable_server_side_cursors parameter (#231) 2023-11-08 22:21:29 +00:00
Enrico Stahn
13be1aa9b9
fix: parse options with numerical values as int (#225)
* fix: parse options with numerical values as int

fixes #222

* [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>
2023-08-15 12:28:05 +01:00
Tom Parker-Shemilt
a7f94c8354
Redo as a package to fix mypy issues (#215)
* Demo the mypy types issue

* Redo as a package

* Update setup.py

---------

Co-authored-by: Matt Seymour <mattaseymour@gmail.com>
2023-04-13 10:59:57 +01:00