diff --git a/.gitignore b/.gitignore index e7f0808..04e3b48 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,13 @@ -# local files +############################################### +# Project Specific +############################################### *.blm *.cms *.dat +############################################### +# Python +############################################### # Byte-compiled / optimized / DLL files __pycache__/ @@ -93,6 +98,7 @@ celerybeat-schedule .venv venv/ ENV/ +Pipfile* # Spyder project settings .spyderproject @@ -107,7 +113,80 @@ ENV/ # mypy .mypy_cache/ -.idea -.vscode -poetry.lock +############################################### +# Operating Systems +############################################### +# Windows thumbnail cache files +Thumbs.db +Thumbs.db:encryptable +ehthumbs.db +ehthumbs_vista.db + +# Dump file +*.stackdump + +# Folder config file +[Dd]esktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msix +*.msm +*.msp + +# Windows shortcuts +*.lnk + +# +# MacOS +# + +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +# +# Linux +# +*~ + +# temporary files which can be created if a process still has a handle open of a deleted file +.fuse_hidden* + +# KDE directory preferences +.directory + +# Linux trash folder which might appear on any partition or disk +.Trash-* + +# .nfs files are created when an open file is removed but is still being accessed +.nfs* diff --git a/probables/utilities.py b/probables/utilities.py index 5f8a8ea..3029ae3 100644 --- a/probables/utilities.py +++ b/probables/utilities.py @@ -5,7 +5,7 @@ import string from array import array from pathlib import Path -from typing import List, Union +from typing import Union def is_hex_string(hex_string: Union[str, None]) -> bool: