robotcode-core 1.0.3__tar.gz → 1.2.0__tar.gz

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.
Files changed (35) hide show
  1. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/PKG-INFO +1 -1
  2. robotcode_core-1.2.0/src/robotcode/core/__version__.py +1 -0
  3. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/concurrent.py +1 -1
  4. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/utils/dataclasses.py +4 -2
  5. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/utils/logging.py +3 -1
  6. robotcode_core-1.0.3/src/robotcode/core/__version__.py +0 -1
  7. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/.gitignore +0 -0
  8. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/LICENSE.txt +0 -0
  9. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/README.md +0 -0
  10. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/pyproject.toml +0 -0
  11. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/__init__.py +0 -0
  12. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/async_tools.py +0 -0
  13. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/documents_manager.py +0 -0
  14. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/event.py +0 -0
  15. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/filewatcher.py +0 -0
  16. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/ignore_spec.py +0 -0
  17. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/language.py +0 -0
  18. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/lsp/__init__.py +0 -0
  19. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/lsp/types.py +0 -0
  20. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/py.typed +0 -0
  21. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/text_document.py +0 -0
  22. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/types.py +0 -0
  23. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/uri.py +0 -0
  24. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/utils/__init__.py +0 -0
  25. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/utils/caching.py +0 -0
  26. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/utils/cli.py +0 -0
  27. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/utils/debugpy.py +0 -0
  28. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/utils/glob_path.py +0 -0
  29. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/utils/inspect.py +0 -0
  30. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/utils/net.py +0 -0
  31. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/utils/path.py +0 -0
  32. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/utils/process.py +0 -0
  33. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/utils/safe_eval.py +0 -0
  34. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/utils/version.py +0 -0
  35. {robotcode_core-1.0.3 → robotcode_core-1.2.0}/src/robotcode/core/workspace.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: robotcode-core
3
- Version: 1.0.3
3
+ Version: 1.2.0
4
4
  Summary: Some core classes for RobotCode
5
5
  Project-URL: Homepage, https://robotcode.io
6
6
  Project-URL: Donate, https://opencollective.com/robotcode
@@ -0,0 +1 @@
1
+ __version__ = "1.2.0"
@@ -53,7 +53,7 @@ class LockBase:
53
53
  aquired = self._lock.acquire(blocking, timeout=timeout)
54
54
  if not aquired and blocking and timeout > 0:
55
55
  raise RuntimeError(
56
- f"Could not acquire {self.__class__.__qualname__} {self.name+' ' if self.name else ' '}in {timeout}s."
56
+ f"Could not acquire {self.__class__.__qualname__} {self.name + ' ' if self.name else ' '}in {timeout}s."
57
57
  )
58
58
  return aquired
59
59
 
@@ -480,7 +480,7 @@ def from_dict(
480
480
  raise TypeError(f"Can't initialize {match_!r} with parameters {params!r}: {ex}") from ex
481
481
 
482
482
  raise TypeError(
483
- "Value must be of type `"
483
+ f"Value '{value}' must be of type `"
484
484
  + (
485
485
  repr(types[0])
486
486
  if len(types) == 1
@@ -488,7 +488,9 @@ def from_dict(
488
488
  (
489
489
  (getattr(e, "__name__", None) or str(e) if e is not type(None) else "None")
490
490
  if _get_origin_cached(e) is not Literal
491
- else repr(e).replace("typing.", "") if e is not None else "None"
491
+ else repr(e).replace("typing.", "")
492
+ if e is not None
493
+ else "None"
492
494
  )
493
495
  for e in types
494
496
  )
@@ -149,7 +149,9 @@ class LoggingDescriptor:
149
149
  else (
150
150
  ("" if self.__owner is None else self.__owner.__module__ + "." + self.__owner.__qualname__)
151
151
  if self.__owner is not None
152
- else get_unwrapped_func(self.__func).__module__ if self.__func is not None else "<unknown>"
152
+ else get_unwrapped_func(self.__func).__module__
153
+ if self.__func is not None
154
+ else "<unknown>"
153
155
  )
154
156
  + self.__postfix
155
157
  )
@@ -1 +0,0 @@
1
- __version__ = "1.0.3"
File without changes