robotcode 0.66.1__py3-none-any.whl → 0.67.0__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
robotcode/cli/__init__.py CHANGED
@@ -88,6 +88,14 @@ from .commands import config, profiles
88
88
  show_default=True,
89
89
  show_envvar=True,
90
90
  )
91
+ @click.option(
92
+ "--log-filename",
93
+ type=click.Path(file_okay=True, dir_okay=False, writable=True, exists=False, path_type=str),
94
+ help="Write log output to a file instead to console.",
95
+ default=None,
96
+ show_default=True,
97
+ show_envvar=True,
98
+ )
91
99
  @click.option(
92
100
  "--log-calls",
93
101
  is_flag=True,
@@ -146,6 +154,7 @@ def robotcode(
146
154
  pager: Optional[bool],
147
155
  log: bool,
148
156
  log_level: str,
157
+ log_filename: Optional[str],
149
158
  log_calls: bool,
150
159
  default_path: Optional[List[str]],
151
160
  launcher_script: Optional[str] = None,
@@ -186,7 +195,7 @@ def robotcode(
186
195
  if log_calls:
187
196
  LoggingDescriptor.set_call_tracing(True)
188
197
 
189
- logging.basicConfig(level=log_level, format="%(name)s:%(levelname)s: %(message)s")
198
+ logging.basicConfig(level=log_level, format="%(name)s:%(levelname)s: %(message)s", filename=log_filename)
190
199
 
191
200
  if debugpy:
192
201
  from robotcode.core.utils.debugpy import start_debugpy, wait_for_debugpy_connected
@@ -1 +1 @@
1
- __version__ = "0.66.1"
1
+ __version__ = "0.67.0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: robotcode
3
- Version: 0.66.1
3
+ Version: 0.67.0
4
4
  Summary: Language server, debugger and tools for Robot Framework
5
5
  Project-URL: Homepage, https://robotcode.io
6
6
  Project-URL: Donate, https://github.com/sponsors/d-biehl
@@ -33,31 +33,31 @@ Classifier: Topic :: Text Editors :: Integrated Development Environments (IDE)
33
33
  Classifier: Topic :: Utilities
34
34
  Classifier: Typing :: Typed
35
35
  Requires-Python: >=3.8
36
- Requires-Dist: robotcode-core==0.66.1
36
+ Requires-Dist: robotcode-core==0.67.0
37
37
  Provides-Extra: all
38
38
  Requires-Dist: docutils; extra == 'all'
39
39
  Requires-Dist: pyyaml>=5.4; extra == 'all'
40
40
  Requires-Dist: rich; extra == 'all'
41
- Requires-Dist: robotcode-analyze==0.66.1; extra == 'all'
42
- Requires-Dist: robotcode-debugger==0.66.1; extra == 'all'
43
- Requires-Dist: robotcode-language-server==0.66.1; extra == 'all'
44
- Requires-Dist: robotcode-runner==0.66.1; extra == 'all'
41
+ Requires-Dist: robotcode-analyze==0.67.0; extra == 'all'
42
+ Requires-Dist: robotcode-debugger==0.67.0; extra == 'all'
43
+ Requires-Dist: robotcode-language-server==0.67.0; extra == 'all'
44
+ Requires-Dist: robotcode-runner==0.67.0; extra == 'all'
45
45
  Requires-Dist: robotframework-robocop>=2.0.0; extra == 'all'
46
46
  Requires-Dist: robotframework-tidy>=2.0.0; extra == 'all'
47
47
  Provides-Extra: analyze
48
- Requires-Dist: robotcode-analyze==0.66.1; extra == 'analyze'
48
+ Requires-Dist: robotcode-analyze==0.67.0; extra == 'analyze'
49
49
  Provides-Extra: colored
50
50
  Requires-Dist: rich; extra == 'colored'
51
51
  Provides-Extra: debugger
52
- Requires-Dist: robotcode-debugger==0.66.1; extra == 'debugger'
52
+ Requires-Dist: robotcode-debugger==0.67.0; extra == 'debugger'
53
53
  Provides-Extra: languageserver
54
- Requires-Dist: robotcode-language-server==0.66.1; extra == 'languageserver'
54
+ Requires-Dist: robotcode-language-server==0.67.0; extra == 'languageserver'
55
55
  Provides-Extra: lint
56
56
  Requires-Dist: robotframework-robocop>=2.0.0; extra == 'lint'
57
57
  Provides-Extra: rest
58
58
  Requires-Dist: docutils; extra == 'rest'
59
59
  Provides-Extra: runner
60
- Requires-Dist: robotcode-runner==0.66.1; extra == 'runner'
60
+ Requires-Dist: robotcode-runner==0.67.0; extra == 'runner'
61
61
  Provides-Extra: tidy
62
62
  Requires-Dist: robotframework-tidy>=2.0.0; extra == 'tidy'
63
63
  Provides-Extra: yaml
@@ -0,0 +1,12 @@
1
+ robotcode/cli/__init__.py,sha256=bZp9RSydny6_PcQ1vf1OB_IzBAU7NnVVQdJeOvwOzw0,6952
2
+ robotcode/cli/__main__.py,sha256=hX3nwROMTnsYGT1KS0rXUYrslu9sFzctYdAh66Rcckw,153
3
+ robotcode/cli/__version__.py,sha256=DkegR91M-IkILN5EBv-0LVftxIGE60qyryEQ_lYCjdg,23
4
+ robotcode/cli/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
5
+ robotcode/cli/commands/__init__.py,sha256=XJHRt_YwMO2Ni2EfL2aj4jkJXMVG6NGFTpzvSVgIRnQ,92
6
+ robotcode/cli/commands/config.py,sha256=vDaqTXH8mNjHnswu4jalSu-5vEcAfBjC1GDu-1RaG1g,9689
7
+ robotcode/cli/commands/profiles.py,sha256=XYL-t0_XYp4_OiuQt9qjpBDKBLKHSjeHPLuRYtdSGzQ,4838
8
+ robotcode-0.67.0.dist-info/METADATA,sha256=MOR_BAN91mul6vKbyjJaxni91tH8vnhZc5c4r7AYgU4,13087
9
+ robotcode-0.67.0.dist-info/WHEEL,sha256=rKV0FgtKSxe-Q3jTBlmgn27qdhTm0_K1YKwPwAPskZ0,87
10
+ robotcode-0.67.0.dist-info/entry_points.txt,sha256=Pb4DKVVdJb5PboVl48njwk3DkKQHBJOL1A8KkpemqA8,58
11
+ robotcode-0.67.0.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
12
+ robotcode-0.67.0.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: hatchling 1.18.0
2
+ Generator: hatchling 1.20.0
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
@@ -1,12 +0,0 @@
1
- robotcode/cli/__init__.py,sha256=L8uTPQH303uT-mQd7XCnvc-OFtKI5Yrig7_sawsPFfU,6638
2
- robotcode/cli/__main__.py,sha256=hX3nwROMTnsYGT1KS0rXUYrslu9sFzctYdAh66Rcckw,153
3
- robotcode/cli/__version__.py,sha256=Y_9EKLxx08OQDNPkUFPkOvW0swweoBoNGuSmF8BmY9s,23
4
- robotcode/cli/py.typed,sha256=bWew9mHgMy8LqMu7RuqQXFXLBxh2CRx0dUbSx-3wE48,27
5
- robotcode/cli/commands/__init__.py,sha256=XJHRt_YwMO2Ni2EfL2aj4jkJXMVG6NGFTpzvSVgIRnQ,92
6
- robotcode/cli/commands/config.py,sha256=vDaqTXH8mNjHnswu4jalSu-5vEcAfBjC1GDu-1RaG1g,9689
7
- robotcode/cli/commands/profiles.py,sha256=XYL-t0_XYp4_OiuQt9qjpBDKBLKHSjeHPLuRYtdSGzQ,4838
8
- robotcode-0.66.1.dist-info/METADATA,sha256=ukFLaSZBjUO47aMpmviMXJ9wV5GPJ0MP6yMpndSr2Qg,13087
9
- robotcode-0.66.1.dist-info/WHEEL,sha256=9QBuHhg6FNW7lppboF2vKVbCGTVzsFykgRQjjlajrhA,87
10
- robotcode-0.66.1.dist-info/entry_points.txt,sha256=Pb4DKVVdJb5PboVl48njwk3DkKQHBJOL1A8KkpemqA8,58
11
- robotcode-0.66.1.dist-info/licenses/LICENSE.txt,sha256=B05uMshqTA74s-0ltyHKI6yoPfJ3zYgQbvcXfDVGFf8,10280
12
- robotcode-0.66.1.dist-info/RECORD,,