ticket2pr 0.3.4__py2.py3-none-any.whl → 0.3.5__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- src/enhanced_git.py +1 -1
- src/logging_setup.py +4 -2
- {ticket2pr-0.3.4.dist-info → ticket2pr-0.3.5.dist-info}/METADATA +2 -1
- {ticket2pr-0.3.4.dist-info → ticket2pr-0.3.5.dist-info}/RECORD +8 -8
- {ticket2pr-0.3.4.dist-info → ticket2pr-0.3.5.dist-info}/WHEEL +0 -0
- {ticket2pr-0.3.4.dist-info → ticket2pr-0.3.5.dist-info}/entry_points.txt +0 -0
- {ticket2pr-0.3.4.dist-info → ticket2pr-0.3.5.dist-info}/licenses/LICENSE +0 -0
- {ticket2pr-0.3.4.dist-info → ticket2pr-0.3.5.dist-info}/top_level.txt +0 -0
src/enhanced_git.py
CHANGED
src/logging_setup.py
CHANGED
|
@@ -2,10 +2,10 @@ import abc
|
|
|
2
2
|
import logging
|
|
3
3
|
from enum import Enum
|
|
4
4
|
from pathlib import Path
|
|
5
|
-
from typing import Self
|
|
6
5
|
|
|
7
6
|
import colorlog
|
|
8
7
|
from pydantic import BaseModel, Field, field_validator, model_validator
|
|
8
|
+
from typing_extensions import Self
|
|
9
9
|
|
|
10
10
|
LOG_COLORS = {
|
|
11
11
|
"DEBUG": "white",
|
|
@@ -43,7 +43,9 @@ class SetupLoggerParams(BaseModel):
|
|
|
43
43
|
@field_validator("level")
|
|
44
44
|
@classmethod
|
|
45
45
|
def validate_log_level_string(cls, value: str) -> str:
|
|
46
|
-
|
|
46
|
+
# logging.logging.getLevelNamesMapping() is not being used here because
|
|
47
|
+
# it's new in Python 3.11
|
|
48
|
+
valid_levels = logging._nameToLevel
|
|
47
49
|
if value.upper() not in valid_levels:
|
|
48
50
|
msg = f"'level' must be one of: {valid_levels}. Got '{value}'."
|
|
49
51
|
raise ValueError(msg)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ticket2pr
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.5
|
|
4
4
|
Summary: Automate Jira ticket to GitHub PR workflow
|
|
5
5
|
Home-page: https://github.com/bengabay11/ticket2pr
|
|
6
6
|
Author: Ben Gabay
|
|
@@ -19,6 +19,7 @@ Requires-Dist: python-dotenv>=1.1.0
|
|
|
19
19
|
Requires-Dist: rich>=14.0.0
|
|
20
20
|
Requires-Dist: tomli-w>=1.2.0
|
|
21
21
|
Requires-Dist: typer>=0.21.1
|
|
22
|
+
Requires-Dist: typing_extensions>=4.0.0
|
|
22
23
|
Dynamic: author
|
|
23
24
|
Dynamic: author-email
|
|
24
25
|
Dynamic: home-page
|
|
@@ -2,9 +2,9 @@ src/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
2
2
|
src/branch_creator.py,sha256=8KqlIjP-VDnB8_qd_1NjiyimAs6yn5xJdr0o9OMtzsw,2230
|
|
3
3
|
src/cli.py,sha256=4fL7R4-hbTJlN5OzdkRRk9bFDERuJUgNKQWWeBUxjzM,8215
|
|
4
4
|
src/console_utils.py,sha256=TbVl_WhiGi1Kq7txk_WpCIfs7gvTJ3qPrSNVBOZ_ZiQ,6928
|
|
5
|
-
src/enhanced_git.py,sha256=
|
|
5
|
+
src/enhanced_git.py,sha256=WTgPK_kH2B57KSYpMtrAfkDzuGLT_zK8bCPmxRjS_Dw,5200
|
|
6
6
|
src/exceptions.py,sha256=HVtaiVoX6Hw9NOW3z9k2tfirHZTBOeQzMp52mBw2S6Y,4704
|
|
7
|
-
src/logging_setup.py,sha256=
|
|
7
|
+
src/logging_setup.py,sha256=0lBahne5Vf8oe8NYW_0BUiTe6XaVUYwvpvGbYFOTpiY,4156
|
|
8
8
|
src/main.py,sha256=tsAVc2lIoiXBJqhNOV3ZOnv9qcaArLF_EJiYibPGBXg,121
|
|
9
9
|
src/pr_content.py,sha256=ValoIl20sNvh4QZS4-Lm0r3SzfzMMrXyq3S7FW_cFuw,407
|
|
10
10
|
src/settings.py,sha256=lkuBarOVaCUTijAq9niE8KOEhk_4FXPpOvn_RBBPrU4,3741
|
|
@@ -28,9 +28,9 @@ tests/integration/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
|
|
|
28
28
|
tests/integration/test_find_first_toml.py,sha256=Wq4rDReqcWLC0CsgcDBDX62wtMljcsm8UHUDTLr4-_A,902
|
|
29
29
|
tests/unit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
30
30
|
tests/unit/test_nothing.py,sha256=qRI0MSdLiBRklBNEsOAkr4jxfcrO2v2CuB2hHWePonU,103
|
|
31
|
-
ticket2pr-0.3.
|
|
32
|
-
ticket2pr-0.3.
|
|
33
|
-
ticket2pr-0.3.
|
|
34
|
-
ticket2pr-0.3.
|
|
35
|
-
ticket2pr-0.3.
|
|
36
|
-
ticket2pr-0.3.
|
|
31
|
+
ticket2pr-0.3.5.dist-info/licenses/LICENSE,sha256=omgsokA67LJXOOKpXtf1wNH71Bfs35NWEAuLowNUMyM,1066
|
|
32
|
+
ticket2pr-0.3.5.dist-info/METADATA,sha256=mTeZ1vOBHC5QKzvojptN8HgWFDH_Njgb5tVcgtXGDw4,3304
|
|
33
|
+
ticket2pr-0.3.5.dist-info/WHEEL,sha256=Mk1ST5gDzEO5il5kYREiBnzzM469m5sI8ESPl7TRhJY,110
|
|
34
|
+
ticket2pr-0.3.5.dist-info/entry_points.txt,sha256=DnWUjexpwtqVcRSICrpnveMIjGJA9_0K5IjZt10jVkM,47
|
|
35
|
+
ticket2pr-0.3.5.dist-info/top_level.txt,sha256=KW3xgkz9NLMTcmmzgKvW8RFpCFkRIQ085qzq2diFf68,10
|
|
36
|
+
ticket2pr-0.3.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|