robotcode 0.93.0__py3-none-any.whl → 0.94.0__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/cli/__init__.py CHANGED
@@ -1,6 +1,6 @@
1
1
  import logging
2
2
  from pathlib import Path
3
- from typing import List, Literal, Optional
3
+ from typing import Any, List, Literal, Optional
4
4
 
5
5
  import click
6
6
 
@@ -20,6 +20,11 @@ from .__version__ import __version__
20
20
  from .commands import config, profiles
21
21
 
22
22
 
23
+ class RobotCodeFormatter(logging.Formatter):
24
+ def __init__(self, *args: Any, **kwargs: Any) -> None:
25
+ super().__init__(*args, **kwargs)
26
+
27
+
23
28
  @click.group(
24
29
  cls=AliasedGroup,
25
30
  context_settings={"auto_envvar_prefix": "ROBOTCODE"},
@@ -114,7 +119,7 @@ from .commands import config, profiles
114
119
  "--log-format",
115
120
  type=str,
116
121
  help="Sets the log format. See python logging documentation for more information.",
117
- default="%(name)s:%(levelname)s: %(message)s",
122
+ default=logging.BASIC_FORMAT,
118
123
  show_default=True,
119
124
  show_envvar=True,
120
125
  )
@@ -252,6 +257,13 @@ def robotcode(
252
257
  filename=log_filename,
253
258
  )
254
259
 
260
+ try:
261
+ logging.root.handlers[0].formatter = RobotCodeFormatter(
262
+ fmt=log_format, style=log_style, defaults={"indent": ""}
263
+ )
264
+ except TypeError:
265
+ pass
266
+
255
267
  if debugpy:
256
268
  from robotcode.core.utils.debugpy import (
257
269
  start_debugpy,
@@ -1 +1 @@
1
- __version__ = "0.93.0"
1
+ __version__ = "0.94.0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: robotcode
3
- Version: 0.93.0
3
+ Version: 0.94.0
4
4
  Summary: Command line interface for RobotCode
5
5
  Project-URL: Homepage, https://robotcode.io
6
6
  Project-URL: Donate, https://opencollective.com/robotcode
@@ -23,6 +23,7 @@ Classifier: Programming Language :: Python :: 3.9
23
23
  Classifier: Programming Language :: Python :: 3.10
24
24
  Classifier: Programming Language :: Python :: 3.11
25
25
  Classifier: Programming Language :: Python :: 3.12
26
+ Classifier: Programming Language :: Python :: 3.13
26
27
  Classifier: Programming Language :: Python :: Implementation :: CPython
27
28
  Classifier: Topic :: Software Development :: Debuggers
28
29
  Classifier: Topic :: Software Development :: Quality Assurance
@@ -33,36 +34,36 @@ Classifier: Topic :: Text Editors :: Integrated Development Environments (IDE)
33
34
  Classifier: Topic :: Utilities
34
35
  Classifier: Typing :: Typed
35
36
  Requires-Python: >=3.8
36
- Requires-Dist: robotcode-core==0.93.0
37
- Requires-Dist: robotcode-plugin==0.93.0
38
- Requires-Dist: robotcode-robot==0.93.0
37
+ Requires-Dist: robotcode-core==0.94.0
38
+ Requires-Dist: robotcode-plugin==0.94.0
39
+ Requires-Dist: robotcode-robot==0.94.0
39
40
  Provides-Extra: all
40
41
  Requires-Dist: docutils; extra == 'all'
41
42
  Requires-Dist: pyyaml>=5.4; extra == 'all'
42
43
  Requires-Dist: rich; extra == 'all'
43
- Requires-Dist: robotcode-analyze==0.93.0; extra == 'all'
44
- Requires-Dist: robotcode-debugger==0.93.0; extra == 'all'
45
- Requires-Dist: robotcode-language-server==0.93.0; extra == 'all'
46
- Requires-Dist: robotcode-repl==0.93.0; extra == 'all'
47
- Requires-Dist: robotcode-runner==0.93.0; extra == 'all'
44
+ Requires-Dist: robotcode-analyze==0.94.0; extra == 'all'
45
+ Requires-Dist: robotcode-debugger==0.94.0; extra == 'all'
46
+ Requires-Dist: robotcode-language-server==0.94.0; extra == 'all'
47
+ Requires-Dist: robotcode-repl==0.94.0; extra == 'all'
48
+ Requires-Dist: robotcode-runner==0.94.0; extra == 'all'
48
49
  Requires-Dist: robotframework-robocop>=2.0.0; extra == 'all'
49
50
  Requires-Dist: robotframework-tidy>=2.0.0; extra == 'all'
50
51
  Provides-Extra: analyze
51
- Requires-Dist: robotcode-analyze==0.93.0; extra == 'analyze'
52
+ Requires-Dist: robotcode-analyze==0.94.0; extra == 'analyze'
52
53
  Provides-Extra: colored
53
54
  Requires-Dist: rich; extra == 'colored'
54
55
  Provides-Extra: debugger
55
- Requires-Dist: robotcode-debugger==0.93.0; extra == 'debugger'
56
+ Requires-Dist: robotcode-debugger==0.94.0; extra == 'debugger'
56
57
  Provides-Extra: languageserver
57
- Requires-Dist: robotcode-language-server==0.93.0; extra == 'languageserver'
58
+ Requires-Dist: robotcode-language-server==0.94.0; extra == 'languageserver'
58
59
  Provides-Extra: lint
59
60
  Requires-Dist: robotframework-robocop>=2.0.0; extra == 'lint'
60
61
  Provides-Extra: repl
61
- Requires-Dist: robotcode-repl==0.93.0; extra == 'repl'
62
+ Requires-Dist: robotcode-repl==0.94.0; extra == 'repl'
62
63
  Provides-Extra: rest
63
64
  Requires-Dist: docutils; extra == 'rest'
64
65
  Provides-Extra: runner
65
- Requires-Dist: robotcode-runner==0.93.0; extra == 'runner'
66
+ Requires-Dist: robotcode-runner==0.94.0; extra == 'runner'
66
67
  Provides-Extra: tidy
67
68
  Requires-Dist: robotframework-tidy>=2.0.0; extra == 'tidy'
68
69
  Provides-Extra: yaml
@@ -1,12 +1,12 @@
1
- robotcode/cli/__init__.py,sha256=davaLdB53bWWMqm4BMmjktKlL0AyzOuMObZbNbmhiQE,8226
1
+ robotcode/cli/__init__.py,sha256=aLAhtN5SqoV4WKT1qWDgZ6UDA4bpDtTgyAt6dfV_2ug,8575
2
2
  robotcode/cli/__main__.py,sha256=hX3nwROMTnsYGT1KS0rXUYrslu9sFzctYdAh66Rcckw,153
3
- robotcode/cli/__version__.py,sha256=W-KEJT0wpRrG8XJ2aDG4NSyzaUucgZR9y6mwfCTlku4,23
3
+ robotcode/cli/__version__.py,sha256=BbCpQB0IaKmq_fOtysTb_iVtvqbH-vHS1DoS1eLd4w8,23
4
4
  robotcode/cli/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
5
5
  robotcode/cli/commands/__init__.py,sha256=XJHRt_YwMO2Ni2EfL2aj4jkJXMVG6NGFTpzvSVgIRnQ,92
6
6
  robotcode/cli/commands/config.py,sha256=84gG4LrIynfPbEQkQDYA3ZClg50ck32NZyUvAWw9g6w,10479
7
7
  robotcode/cli/commands/profiles.py,sha256=GAyNsnz4vvybkEfktFTjDm-L4zkcntXZtBt385U9oRo,5897
8
- robotcode-0.93.0.dist-info/METADATA,sha256=eKwu6UpIwPOazyU3KKtC1bj4TQ23OzHM7CT8Rpdcs-0,6758
9
- robotcode-0.93.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
10
- robotcode-0.93.0.dist-info/entry_points.txt,sha256=Pb4DKVVdJb5PboVl48njwk3DkKQHBJOL1A8KkpemqA8,58
11
- robotcode-0.93.0.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
12
- robotcode-0.93.0.dist-info/RECORD,,
8
+ robotcode-0.94.0.dist-info/METADATA,sha256=vpTvbeU3XY8uLivOedu3MjkSqj3m-KJtYztPVcVL9zg,6809
9
+ robotcode-0.94.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
10
+ robotcode-0.94.0.dist-info/entry_points.txt,sha256=Pb4DKVVdJb5PboVl48njwk3DkKQHBJOL1A8KkpemqA8,58
11
+ robotcode-0.94.0.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
12
+ robotcode-0.94.0.dist-info/RECORD,,