Skip to content

Commit 8918e4c

Browse files
redjaxredjax
and
redjax
authored
Refactor (#267)
* Update gitignore, ignore test.py file in root. Start refactor. Move all utils to _old. Remove imports. Add file_utils * Add CustomException class. This class is meant to be raised as an exception, but has additional properties/fields that the base Python Exception class does not have (errors, extra) * Add tests for file_utils * Add context managers * Add dict_utils * Add hash_utils * Add UUID utils * Move time_utils to stdlib. Add separete extended utils for arrow, pendulum Add check for presence of arrow & pendulum before importing their util dirs * Fix import issue for time_utils * Fix imports * Add loguru_utils * Add msgpack utils * Add diskcache_utils * Add httpx_utils * Add fastapi_utils * Commit current state to pick back up on Callisto * Pickup refactor on Callisto * Add sqlalchemy_utils * Update demo with cleanup steps. Add lint script to pyproject. Lint all files with Black & Ruff. * Add cleanup to demo --------- Co-authored-by: redjax <[email protected]>
1 parent fdf2b53 commit 8918e4c

File tree

115 files changed

+1465
-221
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+1465
-221
lines changed

.gitignore

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
## Temporarily ignore .ipynb
2-
# *.ipynb
1+
test.py
2+
**/*.db
3+
**/*.sqlite
4+
**/*.sqlite3
35

46
# Byte-compiled / optimized / DLL files
57
__pycache__/

0 commit comments

Comments
 (0)