Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior (Robot Framework code if possible):
1. ...
2. ...

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots/Logs**
If applicable, add screenshots or logs to help explain your problem.

**Environment (please complete the following information):**
- OS: [e.g. Windows 11]
- Python version: [e.g. 3.11]
- Robot Framework version: [e.g. 7.0]
- Unity Editor version: [e.g. 2022.3.10f1]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
24 changes: 24 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## Summary

Describe the changes and why they are needed.

## Related Issues

- Fixes # (issue number)

## Changes Made

- [ ] Item 1
- [ ] Item 2

## Verification

- [ ] Unit tests passed
- [ ] Integration tests passed (if applicable)
- [ ] Linting and type checking passed (`scripts/verify.ps1`)

## Checklist

- [ ] I have updated the `README.md` if necessary.
- [ ] I have updated the `CHANGELOG.md` if necessary.
- [ ] I have added/updated tests for my changes.
1 change: 1 addition & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@AGENTS.md
46 changes: 46 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at [INSERT EMAIL ADDRESS]. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.

Comment on lines +35 to +38
Copy link

Copilot AI Feb 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Code of Conduct still contains the placeholder "[INSERT EMAIL ADDRESS]" in the enforcement section. Please replace this with a real contact method (e.g., a project email address or a link to the security/contact page) so reports can actually be submitted.

Copilot uses AI. Check for mistakes.
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]

[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4
Comment on lines +43 to +46
Copy link

Copilot AI Feb 18, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The attribution links use plain HTTP (contributor-covenant.org). Please switch these to HTTPS to avoid insecure link targets in documentation.

Suggested change
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version]
[homepage]: http://contributor-covenant.org
[version]: http://contributor-covenant.org/version/1/4
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [https://contributor-covenant.org/version/1/4][version]
[homepage]: https://contributor-covenant.org
[version]: https://contributor-covenant.org/version/1/4

Copilot uses AI. Check for mistakes.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,5 +143,6 @@ powershell -ExecutionPolicy Bypass -File scripts/verify.ps1

- Security policy: `SECURITY.md`
- Contributing guide: `CONTRIBUTING.md`
- Code of Conduct: `CODE_OF_CONDUCT.md`
- License: `LICENSE`
- Changelog: `CHANGELOG.md`
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ dev = [

[project.urls]
Repository = "https://github.com/metyatech/robotframework-unity-editor"
Issues = "https://github.com/metyatech/robotframework-unity-editor/issues"
Homepage = "https://github.com/metyatech/robotframework-unity-editor"

[tool.hatch.build.targets.wheel]
packages = ["src/robotframework_unity_editor"]
Expand All @@ -47,4 +49,4 @@ line-length = 100
target-version = "py311"

[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "SIM", "RUF"]
select = ["E", "F", "I", "UP", "B", "SIM", "RUF", "A", "ARG", "C4", "PT", "RET", "T20"]
6 changes: 2 additions & 4 deletions src/robotframework_unity_editor/library.py
Original file line number Diff line number Diff line change
Expand Up @@ -813,8 +813,7 @@ def get_unity_selected_hierarchy_path(self, timeout_seconds: float = 2.0) -> str
)
if not bool(payload.get("ok", False)):
raise RuntimeError(f"Unity bridge selection request failed: {payload}")
hierarchy_path = normalize_hierarchy_path(str(payload.get("hierarchy_path") or ""))
return hierarchy_path
return normalize_hierarchy_path(str(payload.get("hierarchy_path") or ""))

@keyword("Select Unity Hierarchy Object")
def select_unity_hierarchy_object(
Expand Down Expand Up @@ -1020,8 +1019,7 @@ def _find_element(
while time.time() < deadline:
try:
candidate = window.child_window(**criteria)
wrapper = candidate.wrapper_object()
return wrapper
return candidate.wrapper_object()
except Exception as error:
last_error = error
time.sleep(0.2)
Expand Down
3 changes: 2 additions & 1 deletion tests/test_bridge_parity.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ def test_upm_bridge_supports_any_root_hierarchy_paths() -> None:
# The UPM bridge implementation must support resolving these paths.
text = _read_upm_bridge_text()
assert "allowAnyRoot" in text
assert "segments[0]" in text and '"*"' in text
assert "segments[0]" in text
assert '"*"' in text


def test_upm_bridge_exposes_selection_version_state() -> None:
Expand Down