Commit graph

278 commits

Author SHA1 Message Date
Matt Seymour
9292e1fa8a
Update setup.py 2023-08-15 14:11:14 +01:00
Matt Seymour
321a7c207a
Update release.yml
Update version pinning of pypi-publish github action
2023-08-15 13:06:29 +01:00
Matt Seymour
ed68bff3c8
Update CHANGELOG.md 2023-08-15 12:29:47 +01: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
Matt Seymour
9b0f325910
Bump version 2.0.0 and update CHANGELOG.md 2023-04-27 16:28:38 +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
pre-commit-ci[bot]
bac900f78a
[pre-commit.ci] pre-commit autoupdate (#216)
updates:
- [github.com/psf/black: 23.1.0 → 23.3.0](https://github.com/psf/black/compare/23.1.0...23.3.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-04-13 10:53:03 +01:00
Michał Górny
84d75e9087
setup.py: Fix project_urls parameter name (#212) 2023-04-02 12:29:31 +01:00
Matt Seymour
2fbcdcbf51
Update change log and setup.py version (1.3.0) 2023-03-27 21:45:16 +01:00
Matt Seymour
14ad3bdc7b
Fixes #209 - Make conn_max_age optional[int] type (#210) 2023-02-14 11:23:46 +00:00
pre-commit-ci[bot]
1cd0d71f56
[pre-commit.ci] pre-commit autoupdate (#208)
updates:
- [github.com/psf/black: 22.12.0 → 23.1.0](https://github.com/psf/black/compare/22.12.0...23.1.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-02-14 11:03:15 +00:00
pre-commit-ci[bot]
acd8d30352
[pre-commit.ci] pre-commit autoupdate (#207)
updates:
- [github.com/pycqa/isort: 5.11.5 → 5.12.0](https://github.com/pycqa/isort/compare/5.11.5...5.12.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2023-01-31 12:26:52 +00:00
Tom Parker-Shemilt
47ac967679
Throw warning if DATABASE_URL isn't set (#199) 2023-01-30 12:19:02 +00:00
Tom Parker-Shemilt
9c1ebdcda4
isort 5.11.4 is broken (#205)
See https://github.com/PyCQA/isort/issues/2077
2023-01-30 11:55:38 +00:00
Tom Parker-Shemilt
3ef273f086
Avoid duplicating the uses_netloc and schemes lines (#201) 2022-12-30 09:48:07 +00:00
Tom Parker-Shemilt
414c69c122
100% test coverage (#202) 2022-12-30 09:44:45 +00:00
pre-commit-ci[bot]
797fe1e7ce
[pre-commit.ci] pre-commit autoupdate (#203)
updates:
- [github.com/pycqa/isort: v5.11.3 → 5.11.4](https://github.com/pycqa/isort/compare/v5.11.3...5.11.4)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-12-30 09:41:32 +00:00
Tom Parker-Shemilt
698882ea83
Add type hints (#198) 2022-12-21 11:47:41 +00:00
pre-commit-ci[bot]
7755b606ae
[pre-commit.ci] pre-commit autoupdate (#200)
updates:
- [github.com/pycqa/isort: 5.10.1 → v5.11.3](https://github.com/pycqa/isort/compare/5.10.1...v5.11.3)
2022-12-21 11:43:14 +00:00
Tom Parker-Shemilt
e47382d4ab
Better error on missing schema (#196) 2022-12-21 08:19:39 +00:00
Matt Seymour
11854687fa
Update CHANGELOG.md 2022-12-13 09:20:25 +00:00
Matt Seymour
ad0645cb59
Update setup.py 2022-12-13 09:18:16 +00:00
Matt Seymour
7aa7afd764
Update config test_options adding unitest 2022-12-13 09:14:38 +00:00
Matt Seymour
3c1a39b437
Make test_options paramter type None over Dict
Has the potential in the future to be a bug. {} are mutable
in the scope of kwargs of a function.
2022-12-13 09:01:13 +00:00
pre-commit-ci[bot]
b416fa416f
[pre-commit.ci] pre-commit autoupdate (#194)
updates:
- [github.com/psf/black: 22.10.0 → 22.12.0](https://github.com/psf/black/compare/22.10.0...22.12.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Tom Parker-Shemilt <palfrey@tevp.net>
2022-12-13 00:21:42 +00:00
Mike
e0cd4c10b1
Support urlencoding/decoding for hostname (#181)
* Use URL Parse library to decode % encodes

Use URL Parse library for what it's good for: to decode % URL encode strings. Don't do it here -- we're already importing a better library for that!

* Test revision with Google Cloud SQL connector

Add synthetic test correlating to Google Cloud SQL connector socket, to make sure Issue https://github.com/jacobian/dj-database-url/issues/132 is solved

Co-authored-by: jared-hardy <jaredhardy@gmail.com>
2022-12-12 20:18:02 +00:00
Chris Hranj
d2e4719a8d
allow TEST settings to be passed into a db config (#116) 2022-12-12 14:56:50 +00:00
Matt Seymour
e9cb03dd91
Update setup.py
Bump version number 1.1.0
2022-12-12 12:32:24 +00:00
Matt Seymour
3eb28ba1ff
Update CHANGELOG.md 2022-12-12 12:24:55 +00:00
Adam Johnson
f19d4970dc
Add ability to set CONN_HEALTH_CHECKS (#185) 2022-12-11 15:38:29 +00:00
Jair Henrique
ccbcc8f93d
Improve (#190)
* convert list to tuple

* use pathlib to read file data
2022-12-11 15:15:20 +00:00
pre-commit-ci[bot]
b9715d2264
[pre-commit.ci] pre-commit autoupdate (#193)
updates:
- [github.com/pre-commit/pre-commit-hooks: v4.3.0 → v4.4.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.3.0...v4.4.0)
- [github.com/pycqa/flake8: 5.0.4 → 6.0.0](https://github.com/pycqa/flake8/compare/5.0.4...6.0.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-12-11 11:22:44 +00:00
Jair Henrique
ffe20b8abf
Add support to python 3.11 (#189) 2022-12-11 11:14:29 +00:00
Christian Franke
1baa73a4f0
CHANGELOG: Fix date format (#192) 2022-11-10 08:22:59 +00:00
Adam Johnson
9a4a6f3535
Use urlsplit() instead of urlparse() (#184) 2022-10-15 09:24:18 +01:00
pre-commit-ci[bot]
2f5729bb06
[pre-commit.ci] pre-commit autoupdate (#188)
updates:
- [github.com/psf/black: 22.8.0 → 22.10.0](https://github.com/psf/black/compare/22.8.0...22.10.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-10-15 09:13:56 +01:00
Adam Johnson
742d74d091
Support Django 4.1 and remove compatibility code (#183)
* Support Django 4.1 and remove compatibility code

* [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>
2022-09-25 21:49:01 +01:00
pre-commit-ci[bot]
723788a71f
[pre-commit.ci] pre-commit autoupdate (#182)
updates:
- [github.com/psf/black: 22.6.0 → 22.8.0](https://github.com/psf/black/compare/22.6.0...22.8.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-09-06 16:57:25 +01:00
alexanderGerbik
4c284f72b4
Fix linter violation (#179) 2022-08-17 11:35:53 +00:00
pre-commit-ci[bot]
5da1ec5d39
[pre-commit.ci] pre-commit autoupdate (#177)
updates:
- [github.com/pycqa/flake8: 5.0.2 → 5.0.4](https://github.com/pycqa/flake8/compare/5.0.2...5.0.4)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-08-09 20:14:25 +02:00
David D Lowe
3a998ee808
Add project_links to setup.py 2022-08-09 09:32:24 +01:00
pre-commit-ci[bot]
c9e9117d59 [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/pycqa/flake8: 4.0.1 → 5.0.2](https://github.com/pycqa/flake8/compare/4.0.1...5.0.2)
2022-08-06 08:37:55 +00:00
Lino Helms
91bb95360e Added support for Timescale and Timescale (GIS)
Timescale is a Postgres based database for time series data and it's
supported via the django-timescaledb package.

[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
2022-08-06 08:37:23 +00:00
Matt Seymour
88b991f60d Remove author_email 2022-07-29 13:21:56 +01:00
Matt Seymour
0f1b9f040d Add twine to release.yml dependencies 2022-07-29 11:09:51 +01:00
Matt Seymour
6fa0da3629 Add release.yml 2022-07-29 10:54:29 +01:00
Matt Seymour
af57107389 Bump version 1.0.0 - setup.py 2022-07-29 10:54:29 +01:00
Matt Seymour
44f5e34c43 Update setup.py 2022-07-29 10:54:29 +01:00
Matt Seymour
8d854dcd78 Update README.rst formatting 2022-07-29 10:48:19 +01:00
pre-commit-ci[bot]
9aa287f28a [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/psf/black: 22.3.0 → 22.6.0](https://github.com/psf/black/compare/22.3.0...22.6.0)
2022-07-11 12:44:20 +00:00