72 Commits

Author SHA1 Message Date
Michael Kennedy
29ef54fe9b Update the template decorator to pass type information along better (e.g. pyright testing). v0.1.17 2025-04-03 18:02:24 -07:00
Michael Kennedy
4c1cd3ce13 local pycharm updates. 2025-02-20 11:58:48 -08:00
Michael Kennedy
64e99cfe6f update deprecated ruff settings. 2024-11-10 09:59:59 -08:00
Michael Kennedy
c6f9747d3d Add example app using FastAPI and this project. 2024-11-10 09:54:31 -08:00
Michael Kennedy
6446c07d99 Switch from setup to pyproject.toml and hatch. 2024-11-10 09:48:40 -08:00
Michael Kennedy
7f76262df1 Switch from setup to pyproject.toml and hatch. 2024-11-10 09:48:35 -08:00
Michael Kennedy
fb2e5275e9 clean up setup.py 2024-11-10 09:48:15 -08:00
Michael Kennedy
9622a174a1 Minor tweak to fix tests related to PR #27 2024-11-10 09:41:21 -08:00
Michael Kennedy
a05272a64b Merge pull request #27 from VLPatton/vlpatton/issue26
Add data templating to `generic_error`
2024-11-10 09:36:53 -08:00
Ayzee Patton
d462fbfa0f Sync with upstream branch 'main'.
Retained my changes. May need to rerun any linting that may have been
reverted in exceptions.py, but functionality should now be retained.

Signed-off-by: Ayzee Patton <vlpatton@vlpatton.gay>
2024-11-07 13:23:51 -06:00
Michael Kennedy
ae2a221e3e Update tox python versions. 2024-11-07 00:46:52 -08:00
Michael Kennedy
a9f6b128b0 Run Ruff --fix across the codebase. 2024-11-07 00:40:09 -08:00
Michael Kennedy
e853ce96a2 add ruff config file. 2024-11-07 00:38:13 -08:00
Michael Kennedy
701abf9411 update classifiers for package 2024-11-07 00:38:02 -08:00
Ayzee Patton
26bb2e254f Add data templating to generic_error. Bump version patch number.
Data templating is now possible with `generic_error` in a way that does
not break compatibility. May add a readme update in the future to
specify new behavior.

Signed-off-by: Ayzee Patton <vlpatton@vlpatton.gay>
2024-11-06 13:37:22 -06:00
Michael Kennedy
3c6e2c011a Create FUNDING.yml 2024-01-21 13:42:44 -08:00
Michael Kennedy
7ef7627de5 Build stopped locating the requirements file + add 3.11 support. 2023-02-11 14:11:27 -08:00
Michael Kennedy
3b136cab36 Forgot to add generic_error for * imports. 2023-02-11 14:02:40 -08:00
Michael Kennedy
229a130ddb Bump version for latest release. 2023-02-11 14:02:15 -08:00
Michael Kennedy
2115234f7f Fix error from adding generic_error (ironic I know ;) ). 2023-02-11 14:01:54 -08:00
Michael Kennedy
2a430bf0e9 Merge pull request #24 from Prezu/patryk/generic_error/1
Added a more generic error reporting function: generic_error().
2023-02-11 14:00:35 -08:00
Michael Kennedy
98895d8a42 Ignore remaining pycharm files. 2022-09-21 08:12:00 -07:00
Michael Kennedy
c633bbf429 delete these pycharm files 2022-09-21 08:11:44 -07:00
Michael Kennedy
af81db030d Stop tracking these pycharm files 2022-09-21 08:11:15 -07:00
Patryk Cisek
704dc1d95b Added a more generic error reporting function: generic_error(). 2022-06-07 14:43:50 -07:00
Michael Kennedy
3b450a3528 updates to project settings 2022-02-24 13:14:42 -08:00
Michael Kennedy
8012037480 Merge pull request #22 from fariddarabi/fariddarabi-patch-1
Update README.md
2021-11-13 22:27:25 -08:00
Farid Darabi
836469558b Update README.md
Feat(README.md): Use pathlib to find the base directory, instead of os module
2021-11-13 17:30:52 +03:30
Michael Kennedy
9deffab80f Add response() to the all list of exports. 2021-10-12 13:38:41 -07:00
Michael Kennedy
654446b6c7 Add type info for a few more return types. 2021-10-12 13:38:16 -07:00
Michael Kennedy
458ace1f69 grammar 2021-07-29 17:13:32 -07:00
Michael Kennedy
0c422f9ec7 Oops, make the url consistent with the idea on the readme. 2021-07-29 17:11:36 -07:00
Michael Kennedy
623c7eefd0 Update docs to include friendly 404 feature. 2021-07-29 17:09:04 -07:00
Michael Kennedy
503be47934 Clean up warnings about unused pytest mix-in for config. 2021-07-29 17:01:07 -07:00
Michael Kennedy
f03f71072e Adds "pretty" 404 page support. 2021-07-29 17:00:12 -07:00
Michael Kennedy
d76ea61a4d Fixes #10 - Releasing this to PiPy. 2021-07-27 13:41:03 -07:00
Michael Kennedy
a4dfaab402 Get this ready to publish to PyPI 2021-07-27 13:37:44 -07:00
Michael Kennedy
5392c5fb0a Merge pull request #17 from jugmac00/patch-1
drop the dot
2021-05-17 17:27:00 -07:00
Michael Kennedy
354a13cae2 Merge pull request #18 from jugmac00/patch-2
fix typo
2021-05-17 17:26:23 -07:00
Jürgen Gmach
5374bbffe0 fix typo 2021-05-17 10:30:14 +02:00
Jürgen Gmach
76968447bc drop the dot
also see https://github.com/tox-dev/tox/issues/484
2021-05-17 10:27:48 +02:00
Michael Kennedy
b483049629 Merge pull request #16 from jmtaysom/main
Update tox.ini for py3.6+ only
2021-05-14 09:34:38 -07:00
Jim Taysom
6e9aebd0ec Updating to support only py3.6+ 2021-05-14 12:31:48 -04:00
Jim Taysom
d726956afb Merge pull request #1 from mikeckennedy/main
upstream update
2021-05-14 12:30:45 -04:00
Michael Kennedy
08c5d3a654 Fixes #15. Test on only Python 3.6+ 2021-05-14 09:27:12 -07:00
Michael Kennedy
deb8806ec1 Merge pull request #14 from fferegrino/use-fixtures-in-tests
Use fixtures in tests
2021-05-08 10:47:18 -07:00
Antonio Feregrino
868fd8d4fd Remove unused code 2021-05-08 18:38:34 +01:00
Antonio Feregrino
216e07e78d Use fixtures to init the global path each test 2021-05-08 18:38:34 +01:00
Michael Kennedy
648bd40354 Merge pull request #11 from madeinoz67/Add-poetry
Updates README with instructions to add via poetry
2021-05-04 10:21:01 -07:00
Stephen Eaton
f8eb2d997c Updates README with instructions to add via poetry 2021-05-04 15:28:23 +08:00