Skip to content

Commit daabbfd

Browse files
committed
chore: Add Robocop development environment to hatch
1 parent 83fa524 commit daabbfd

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

CONTRIBUTING.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,9 @@ hatch run devel.py3.13-rf73:test # Python 3.13 with Robot Framework 7.3.x (singl
305305
hatch run rfbeta:test # Robot Framework beta/RC versions
306306
hatch run rfmaster:test # Robot Framework master branch
307307
hatch run rfdevel:test # Local Robot Framework development version
308+
309+
# Test with Robocop development version
310+
hatch run robocopmain:test # Robocop main branch
308311
```
309312

310313
**⚠️ Important Matrix Behavior:**

hatch.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,13 @@ extra-dependencies = ["robotframework==7.2rc1"]
4949
[envs.rfmaster]
5050
python = "3.12"
5151
extra-dependencies = [
52-
"robotframework @ git+https://github.com/robotframework/robotframework.git",
52+
"robotframework @ git+https://github.com/robotframework/robotframework.git"
53+
]
54+
55+
[envs.robocopmain]
56+
python = "3.12"
57+
extra-dependencies = [
58+
"robotframework-robocop @ git+https://github.com/MarketSquare/robotframework-robocop.git"
5359
]
5460

5561
[envs.rfdevel]

packages/language_server/src/robotcode/language_server/robotframework/parts/robocop_diagnostics.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ def collect_diagnostics(
7878
@_logger.call
7979
def collect(self, document: TextDocument, workspace_folder: WorkspaceFolder) -> List[Diagnostic]:
8080
from robocop.linter.rules import RuleSeverity
81-
from robocop.linter.runner import RobocopLinter
8281

8382
linter = self.get_linter(workspace_folder)
8483

0 commit comments

Comments
 (0)