diff --git a/poetry.lock b/poetry.lock index d0e34c4..8348c68 100644 --- a/poetry.lock +++ b/poetry.lock @@ -255,6 +255,18 @@ files = [ crashtest = ">=0.4.1,<0.5.0" rapidfuzz = ">=2.2.0,<3.0.0" +[[package]] +name = "colorama" +version = "0.4.6" +description = "Cross-platform colored terminal text." +category = "main" +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" +files = [ + {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, + {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, +] + [[package]] name = "crashtest" version = "0.4.1" @@ -1039,6 +1051,32 @@ files = [ [package.dependencies] requests = ">=2.0.1,<3.0.0" +[[package]] +name = "ruff" +version = "0.0.240" +description = "An extremely fast Python linter, written in Rust." +category = "dev" +optional = false +python-versions = ">=3.7" +files = [ + {file = "ruff-0.0.240-py3-none-macosx_10_7_x86_64.whl", hash = "sha256:222dd5a5f7cf2f155d7bb77ac484b9afd6f8aaecd963a91c8dbb93355ef42fd2"}, + {file = "ruff-0.0.240-py3-none-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl", hash = "sha256:2c956a037671b5ab81546346f3e7f0b3f0e13d0b2e5a3e88c1b2227a1e9aae82"}, + {file = "ruff-0.0.240-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b43c73fc165f8c7de7c095208d05653744aee6fb0a71680449c2ff1cf59183ea"}, + {file = "ruff-0.0.240-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl", hash = "sha256:f58f1122001150d70909885ccf43d869237be814d4cfc74bb60b3883635e440a"}, + {file = "ruff-0.0.240-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:3b427050336b8967755e305f506e84e550591fa47766b5b0cb0c8bcb5c8ca9e7"}, + {file = "ruff-0.0.240-py3-none-manylinux_2_17_ppc64.manylinux2014_ppc64.whl", hash = "sha256:0fe8cc47c4c3423548a074e163388f943a14b1e349be88e5dc4cd43df81b6344"}, + {file = "ruff-0.0.240-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:2f40f07d030e7a8cbe365a62fe8543e146b9bcd2a31f5625c2beaccad0d1b8c1"}, + {file = "ruff-0.0.240-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c222ad12e4bf795e3cec64d56178af1bfbc5d97929a0abf685564937e52c9862"}, + {file = "ruff-0.0.240-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a26eb3cd68527bcae2543027a0a674d37d03f239f6f025049149115c9775438d"}, + {file = "ruff-0.0.240-py3-none-musllinux_1_2_aarch64.whl", hash = "sha256:4591c9104b6898cbd0df57f6b6f8e2907b08fa85ff5196750f0a7b370ae9f78e"}, + {file = "ruff-0.0.240-py3-none-musllinux_1_2_armv7l.whl", hash = "sha256:7fed973319ca0a8c2e5c80732217b9b1ec069305839f480907469791e596b150"}, + {file = "ruff-0.0.240-py3-none-musllinux_1_2_i686.whl", hash = "sha256:4ce049d1fedb1b785fef29403d26e6109b77287b51afd10b74edc986f609c4af"}, + {file = "ruff-0.0.240-py3-none-musllinux_1_2_x86_64.whl", hash = "sha256:5127cfaec1f78bd7104174eeacee85dea64796905812b448efd60f504cfa5eec"}, + {file = "ruff-0.0.240-py3-none-win32.whl", hash = "sha256:071e01a980ffd638a5ce7960ce662fa9b434962f78e7c575478c64e5f147aac8"}, + {file = "ruff-0.0.240-py3-none-win_amd64.whl", hash = "sha256:d0b1ac5d1d882db25ca4b7dff8aa813ecc7912bdde4ad8f59f2d922b1996cbc7"}, + {file = "ruff-0.0.240.tar.gz", hash = "sha256:0f1a0b04ce6f3d59894c64f3c3a5a0a35ff4803b8dc51e962d7de42fdb0f5eb1"}, +] + [[package]] name = "secretstorage" version = "3.3.3" @@ -1103,6 +1141,27 @@ files = [ {file = "tomlkit-0.11.6.tar.gz", hash = "sha256:71b952e5721688937fb02cf9d354dbcf0785066149d2855e44531ebdd2b65d73"}, ] +[[package]] +name = "tqdm" +version = "4.64.1" +description = "Fast, Extensible Progress Meter" +category = "main" +optional = false +python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,>=2.7" +files = [ + {file = "tqdm-4.64.1-py2.py3-none-any.whl", hash = "sha256:6fee160d6ffcd1b1c68c65f14c829c22832bc401726335ce92c52d395944a6a1"}, + {file = "tqdm-4.64.1.tar.gz", hash = "sha256:5f4f682a004951c1b450bc753c710e9280c5746ce6ffedee253ddbcbf54cf1e4"}, +] + +[package.dependencies] +colorama = {version = "*", markers = "platform_system == \"Windows\""} + +[package.extras] +dev = ["py-make (>=0.1.0)", "twine", "wheel"] +notebook = ["ipywidgets (>=6)"] +slack = ["slack-sdk"] +telegram = ["requests"] + [[package]] name = "trove-classifiers" version = "2023.1.20" @@ -1303,4 +1362,4 @@ testing = ["flake8 (<5)", "func-timeout", "jaraco.functools", "jaraco.itertools" [metadata] lock-version = "2.0" python-versions = "^3.7" -content-hash = "1878edca0566db7fd5e58ede39dab419e1d539456e3a47870b211a62e950dc35" +content-hash = "f448285f166de3147e9759e9f437a480800f536fe1d0b13a8dcc693ea1d87f0b" diff --git a/pyproject.toml b/pyproject.toml index c12da81..941e226 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,10 +15,15 @@ dicomsort = 'dicomsort:main' [tool.poetry.dependencies] python = "^3.7" pydicom = "^2.3.1" +tqdm = "^4.64.1" [tool.poetry.group.dev.dependencies] poetry = "^1.3.2" +ruff = "^0.0.240" [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" + +[tool.ruff.per-file-ignores] +"dicomsort.py" = ["E501"] \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index b4a8e29..aaee6aa 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,52 +1,3 @@ -attrs==22.2.0 ; python_version >= "3.7" and python_version < "4.0" -backports-cached-property==1.0.2 ; python_version >= "3.7" and python_version < "3.8" -cachecontrol[filecache]==0.12.11 ; python_version >= "3.7" and python_version < "4.0" -certifi==2022.12.7 ; python_version >= "3.7" and python_version < "4" -cffi==1.15.1 ; python_version >= "3.7" and python_version < "4.0" and sys_platform == "darwin" or python_version >= "3.7" and python_version < "4.0" and sys_platform == "linux" -charset-normalizer==3.0.1 ; python_version >= "3.7" and python_version < "4" -cleo==2.0.1 ; python_version >= "3.7" and python_version < "4.0" -crashtest==0.4.1 ; python_version >= "3.7" and python_version < "4.0" -cryptography==39.0.0 ; python_version >= "3.7" and python_version < "4.0" and sys_platform == "linux" -distlib==0.3.6 ; python_version >= "3.7" and python_version < "4.0" and sys_platform != "win32" or python_version >= "3.7" and python_version < "4.0" and python_version != "3.9" or sys_platform == "win32" and python_version == "3.9" -dulwich==0.20.50 ; python_version >= "3.7" and python_version < "4.0" -filelock==3.9.0 ; python_version >= "3.7" and python_version < "4.0" -html5lib==1.1 ; python_version >= "3.7" and python_version < "4.0" -idna==3.4 ; python_version >= "3.7" and python_version < "4" -importlib-metadata==4.13.0 ; python_version >= "3.7" and python_version < "3.12" -importlib-resources==5.10.2 ; python_version >= "3.7" and python_version < "3.9" -jaraco-classes==3.2.3 ; python_version >= "3.7" and python_version < "4.0" -jeepney==0.8.0 ; python_version >= "3.7" and python_version < "4.0" and sys_platform == "linux" -jsonschema==4.17.3 ; python_version >= "3.7" and python_version < "4.0" -keyring==23.13.1 ; python_version >= "3.7" and python_version < "4.0" -lockfile==0.12.2 ; python_version >= "3.7" and python_version < "4.0" -more-itertools==9.0.0 ; python_version >= "3.7" and python_version < "4.0" -msgpack==1.0.4 ; python_version >= "3.7" and python_version < "4.0" -packaging==23.0 ; python_version >= "3.7" and python_version < "4.0" -pexpect==4.8.0 ; python_version >= "3.7" and python_version < "4.0" -pkginfo==1.9.6 ; python_version >= "3.7" and python_version < "4.0" -pkgutil-resolve-name==1.3.10 ; python_version >= "3.7" and python_version < "3.9" -platformdirs==2.6.2 ; python_version >= "3.7" and python_version < "4.0" -poetry-core==1.4.0 ; python_version >= "3.7" and python_version < "4.0" -poetry-plugin-export==1.3.0 ; python_version >= "3.7" and python_version < "4.0" -poetry==1.3.2 ; python_version >= "3.7" and python_version < "4.0" -ptyprocess==0.7.0 ; python_version >= "3.7" and python_version < "4.0" -pycparser==2.21 ; python_version >= "3.7" and python_version < "4.0" and sys_platform == "darwin" or python_version >= "3.7" and python_version < "4.0" and sys_platform == "linux" +colorama==0.4.6 ; python_version >= "3.7" and python_version < "4.0" and platform_system == "Windows" pydicom==2.3.1 ; python_version >= "3.7" and python_version < "4.0" -pyrsistent==0.19.3 ; python_version >= "3.7" and python_version < "4.0" -pywin32-ctypes==0.2.0 ; python_version >= "3.7" and python_version < "4.0" and sys_platform == "win32" -rapidfuzz==2.13.7 ; python_version >= "3.7" and python_version < "4.0" -requests-toolbelt==0.10.1 ; python_version >= "3.7" and python_version < "4.0" -requests==2.28.2 ; python_version >= "3.7" and python_version < "4" -secretstorage==3.3.3 ; python_version >= "3.7" and python_version < "4.0" and sys_platform == "linux" -shellingham==1.5.0.post1 ; python_version >= "3.7" and python_version < "4.0" -six==1.16.0 ; python_version >= "3.7" and python_version < "4.0" -tomli==2.0.1 ; python_version >= "3.7" and python_version < "3.11" -tomlkit==0.11.6 ; python_version >= "3.7" and python_version < "4.0" -trove-classifiers==2023.1.20 ; python_version >= "3.7" and python_version < "4.0" -typing-extensions==4.4.0 ; python_version >= "3.7" and python_version < "3.8" -urllib3==1.26.14 ; python_version >= "3.7" and python_version < "4.0" -virtualenv==20.16.5 ; sys_platform == "win32" and python_version == "3.9" -virtualenv==20.17.1 ; python_version >= "3.7" and python_version < "4.0" and sys_platform != "win32" or python_version >= "3.7" and python_version < "4.0" and python_version != "3.9" -webencodings==0.5.1 ; python_version >= "3.7" and python_version < "4.0" -xattr==0.10.1 ; python_version >= "3.7" and python_version < "4.0" and sys_platform == "darwin" -zipp==3.12.0 ; python_version >= "3.7" and python_version < "3.12" +tqdm==4.64.1 ; python_version >= "3.7" and python_version < "4.0"