robotcode-robot 0.33.0__py3-none-any.whl → 0.34.1__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.
- robotcode/robot/__init__.py +0 -0
- robotcode/robot/__version__.py +1 -1
- robotcode/robot/config/model.py +3 -1
- robotcode/robot/utils.py +14 -0
- {robotcode_robot-0.33.0.dist-info → robotcode_robot-0.34.1.dist-info}/METADATA +2 -2
- robotcode_robot-0.34.1.dist-info/RECORD +12 -0
- robotcode_robot-0.33.0.dist-info/RECORD +0 -10
- {robotcode_robot-0.33.0.dist-info → robotcode_robot-0.34.1.dist-info}/WHEEL +0 -0
- {robotcode_robot-0.33.0.dist-info → robotcode_robot-0.34.1.dist-info}/licenses/LICENSE.txt +0 -0
File without changes
|
robotcode/robot/__version__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = "0.
|
1
|
+
__version__ = "0.34.1"
|
robotcode/robot/config/model.py
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# ruff: noqa: RUF009
|
2
|
+
|
1
3
|
import dataclasses
|
2
4
|
import datetime
|
3
5
|
import fnmatch
|
@@ -2161,7 +2163,7 @@ class RobotConfig(RobotExtraBaseProfile):
|
|
2161
2163
|
profile_names = [p for p in profiles.keys() if fnmatch.fnmatchcase(p, name)]
|
2162
2164
|
|
2163
2165
|
if not profile_names:
|
2164
|
-
raise ValueError(f"Can't find any profiles matching the pattern '{name}'
|
2166
|
+
raise ValueError(f"Can't find any profiles matching the pattern '{name}'.")
|
2165
2167
|
|
2166
2168
|
for v in profile_names:
|
2167
2169
|
result.update({v: profiles[v]})
|
robotcode/robot/utils.py
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
from typing import Optional
|
2
|
+
|
3
|
+
from robotcode.core.utils.version import Version, create_version_from_str
|
4
|
+
|
5
|
+
_robot_version: Optional[Version] = None
|
6
|
+
|
7
|
+
|
8
|
+
def get_robot_version() -> Version:
|
9
|
+
global _robot_version
|
10
|
+
if _robot_version is None:
|
11
|
+
import robot.version
|
12
|
+
|
13
|
+
_robot_version = create_version_from_str(robot.version.get_version())
|
14
|
+
return _robot_version
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: robotcode-robot
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.34.1
|
4
4
|
Summary: Support classes for RobotCode for handling Robot Framework projects.
|
5
5
|
Project-URL: Homepage, https://robotcode.io
|
6
6
|
Project-URL: Donate, https://github.com/sponsors/d-biehl
|
@@ -25,7 +25,7 @@ Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
25
25
|
Classifier: Topic :: Utilities
|
26
26
|
Classifier: Typing :: Typed
|
27
27
|
Requires-Python: >=3.8
|
28
|
-
Requires-Dist: robotcode-core
|
28
|
+
Requires-Dist: robotcode-core==0.34.1
|
29
29
|
Requires-Dist: robotframework>=4.1.0
|
30
30
|
Requires-Dist: tomli>=1.1.0; python_version < '3.11'
|
31
31
|
Description-Content-Type: text/markdown
|
@@ -0,0 +1,12 @@
|
|
1
|
+
robotcode/robot/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
+
robotcode/robot/__version__.py,sha256=Z-DRdi7fjebiPt8V6ExiicJOI_-UPpu6i21-wLM1PPE,23
|
3
|
+
robotcode/robot/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
|
4
|
+
robotcode/robot/utils.py,sha256=hz4AnAqMWiTy9JJAF9PHvjF7_x7DCifM8xEw9MODS1w,374
|
5
|
+
robotcode/robot/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
|
+
robotcode/robot/config/loader.py,sha256=7iRfZew2Ps7fJe4E2mh5R03bALjScy6hbS5mxkMFIoA,3326
|
7
|
+
robotcode/robot/config/model.py,sha256=e4xGCu8yNWDUP_Uyp8xBSSGgM93luxX6vKq_ZViT-ao,77317
|
8
|
+
robotcode/robot/config/utils.py,sha256=YrJgWkNVlydRdUYmmXQLZQs9rQW-hKIX_B4jzT8RKMI,1701
|
9
|
+
robotcode_robot-0.34.1.dist-info/METADATA,sha256=Gr7eKMGToKhLufK9XSc2023FhNWIz8KLJjLCwpPkXI4,2178
|
10
|
+
robotcode_robot-0.34.1.dist-info/WHEEL,sha256=EI2JsGydwUL5GP9t6kzZv7G3HDPi7FuZDDf9In6amRM,87
|
11
|
+
robotcode_robot-0.34.1.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
|
12
|
+
robotcode_robot-0.34.1.dist-info/RECORD,,
|
@@ -1,10 +0,0 @@
|
|
1
|
-
robotcode/robot/__version__.py,sha256=6K931DiWIOR94oP_7w9oZPyA0wEqkdgU1lkcLFyRTMU,23
|
2
|
-
robotcode/robot/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
|
3
|
-
robotcode/robot/config/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
4
|
-
robotcode/robot/config/loader.py,sha256=7iRfZew2Ps7fJe4E2mh5R03bALjScy6hbS5mxkMFIoA,3326
|
5
|
-
robotcode/robot/config/model.py,sha256=teEfuZIQmPE8Zmu88uFvFG3iqIuy-ANAdwltWtbFkak,77296
|
6
|
-
robotcode/robot/config/utils.py,sha256=YrJgWkNVlydRdUYmmXQLZQs9rQW-hKIX_B4jzT8RKMI,1701
|
7
|
-
robotcode_robot-0.33.0.dist-info/METADATA,sha256=ujGJPb8Egzh_No2z4S2ayJKfSYiA_MUZw1nzFY2qlgs,2170
|
8
|
-
robotcode_robot-0.33.0.dist-info/WHEEL,sha256=EI2JsGydwUL5GP9t6kzZv7G3HDPi7FuZDDf9In6amRM,87
|
9
|
-
robotcode_robot-0.33.0.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
|
10
|
-
robotcode_robot-0.33.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|