Repository navigation
sync rhiza template v0.18.8 #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| [bandit] | ||
| skips = B101 | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| # This file is part of the jebel-quant/rhiza repository | ||
| # (https://github.com/jebel-quant/rhiza). | ||
| # | ||
| root = true | ||
|
|
||
| # Default settings for all files | ||
| [*] | ||
| end_of_line = lf | ||
| trim_trailing_whitespace = true | ||
| insert_final_newline = true | ||
| charset = utf-8 | ||
|
|
||
| # Python, reStructuredText, and text files | ||
| [*.{py,rst,txt}] | ||
| indent_style = space | ||
| indent_size = 4 | ||
|
|
||
| # YAML, JSON, and other config files | ||
| [*.{yml,yaml,json}] | ||
| indent_style = space | ||
| indent_size = 2 | ||
|
|
||
| # Markdown files | ||
| # [*.{md,markdown}] | ||
| # trim_trailing_whitespace = false | ||
|
|
||
| # Makefiles require tabs | ||
| [{Makefile,*.mk,*.make}] | ||
| indent_style = tab | ||
| indent_size = 4 | ||
|
|
||
| # Don't apply editorconfig rules to vendor/ resources | ||
| # This is a "defensive" rule for the day we may have | ||
| # the vendor folder | ||
| [vendor/**] | ||
| charset = unset | ||
| end_of_line = unset | ||
| indent_size = unset | ||
| indent_style = unset | ||
| insert_final_newline = unset | ||
| trim_trailing_whitespace = unset |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| title: "[Question] " | ||
| labels: ["question"] | ||
| body: | ||
| - type: markdown | ||
| attributes: | ||
| value: | | ||
| Welcome! Use this space to ask questions, share how your use-case, or explore ideas with the community. | ||
|
|
||
| - type: textarea | ||
| id: question | ||
| attributes: | ||
| label: Your Question or Topic | ||
| description: What would you like to discuss? | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: context | ||
| attributes: | ||
| label: Context | ||
| description: Any relevant code, configuration, or background that helps frame your question. | ||
| placeholder: | | ||
| ```python | ||
| # your code snippet here | ||
| ``` |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| name: Bug Report | ||
| description: Report a bug or unexpected behaviour | ||
| labels: ["bug"] | ||
| body: | ||
| - type: markdown | ||
| attributes: | ||
| value: | | ||
| Thanks for taking the time to report a bug. Please fill out the sections below. | ||
|
|
||
| - type: textarea | ||
| id: description | ||
| attributes: | ||
| label: Description | ||
| description: A clear and concise description of what the bug is. | ||
| placeholder: What happened? | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: steps | ||
| attributes: | ||
| label: Steps to reproduce | ||
| description: Minimal steps to reproduce the behaviour. | ||
| placeholder: | | ||
| 1. Run `make ...` | ||
| 2. See error | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: expected | ||
| attributes: | ||
| label: Expected behaviour | ||
| description: What did you expect to happen? | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: environment | ||
| attributes: | ||
| label: Environment | ||
| description: | | ||
| Relevant versions and system info. Run `make info` if available. | ||
| placeholder: | | ||
| - OS: macOS 14 / Ubuntu 24.04 / Windows 11 | ||
| - Python: 3.13.x | ||
| - rhiza version: | ||
| validations: | ||
| required: false | ||
|
|
||
| - type: textarea | ||
| id: context | ||
| attributes: | ||
| label: Additional context | ||
| description: Logs, screenshots, or anything else that may be helpful. | ||
| validations: | ||
| required: false |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| name: Feature Request | ||
| description: Suggest a new feature or enhancement | ||
| labels: ["enhancement"] | ||
| body: | ||
| - type: markdown | ||
| attributes: | ||
| value: | | ||
| Thanks for proposing a feature. Please align with the team before investing significant effort. | ||
|
|
||
| - type: textarea | ||
| id: problem | ||
| attributes: | ||
| label: Problem / motivation | ||
| description: What problem does this solve? Why is it valuable? | ||
| placeholder: As a contributor I find it hard to ... because ... | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: solution | ||
| attributes: | ||
| label: Proposed solution | ||
| description: Describe the solution you have in mind. | ||
| validations: | ||
| required: true | ||
|
|
||
| - type: textarea | ||
| id: alternatives | ||
| attributes: | ||
| label: Alternatives considered | ||
| description: Other approaches you have considered and why you ruled them out. | ||
| validations: | ||
| required: false | ||
|
|
||
| - type: textarea | ||
| id: context | ||
| attributes: | ||
| label: Additional context | ||
| description: Links, mockups, prior art, or anything else that may be helpful. | ||
| validations: | ||
| required: false |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,80 @@ | ||
| # This file is part of the jebel-quant/rhiza repository | ||
| # (https://github.com/jebel-quant/rhiza). | ||
| # | ||
| # Configuration: Dependabot | ||
| # | ||
| # Purpose: Automate dependency updates for Python packages, GitHub Actions, and Docker images. | ||
| # | ||
| # Documentation: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file | ||
|
|
||
| version: 2 | ||
| updates: | ||
| # Python dependencies using uv | ||
| - package-ecosystem: "uv" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "weekly" | ||
| day: "tuesday" | ||
| time: "09:00" | ||
| timezone: "Asia/Dubai" | ||
| ignore: | ||
| - dependency-name: "*" | ||
| update-types: ["version-update:semver-major"] | ||
| open-pull-requests-limit: 10 | ||
| labels: | ||
| - "dependencies" | ||
| - "python" | ||
| groups: | ||
| python-dependencies: | ||
| patterns: | ||
| - "*" | ||
| update-types: | ||
| - "patch" | ||
| - "minor" | ||
| commit-message: | ||
| prefix: "chore(deps)" | ||
| prefix-development: "chore(deps-dev)" | ||
| include: "scope" | ||
|
|
||
| # GitHub Actions | ||
| - package-ecosystem: "github-actions" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "weekly" | ||
| day: "tuesday" | ||
| time: "09:00" | ||
| timezone: "Asia/Dubai" | ||
| ignore: | ||
| - dependency-name: "*" | ||
| update-types: ["version-update:semver-major"] | ||
| open-pull-requests-limit: 10 | ||
| labels: | ||
| - "dependencies" | ||
| - "github-actions" | ||
| groups: | ||
| github-actions: | ||
| patterns: | ||
| - "*" | ||
| update-types: | ||
| - "patch" | ||
| - "minor" | ||
|
|
||
| commit-message: | ||
| prefix: "chore(deps)" | ||
| include: "scope" | ||
|
|
||
| # Docker | ||
| #- package-ecosystem: "docker" | ||
| # directory: "/docker" | ||
| # schedule: | ||
| # interval: "weekly" | ||
| # day: "tuesday" | ||
| # time: "09:00" | ||
| # timezone: "Asia/Dubai" | ||
| # open-pull-requests-limit: 10 | ||
| # labels: | ||
| # - "dependencies" | ||
| # - "docker" | ||
| # commit-message: | ||
| # prefix: "chore(deps)" | ||
| # include: "scope" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| ## Summary | ||
|
|
||
| <!-- One or two sentences describing what this PR does and why. --> | ||
|
|
||
| Closes #<!-- issue number --> | ||
|
|
||
| ## Changes | ||
|
|
||
| <!-- Bullet list of what changed. --> | ||
|
|
||
| - | ||
|
|
||
| ## Testing | ||
|
|
||
| - [ ] `make test` passes locally | ||
| - [ ] `make fmt` has been run | ||
| - [ ] New tests added (or explain why not needed) | ||
|
|
||
| ## Checklist | ||
|
|
||
| - [ ] Commit messages follow the [Conventional Commits](https://www.conventionalcommits.org/) format | ||
| - [ ] Documentation updated if behaviour changed | ||
| - [ ] `make deptry` passes (no unused or missing dependencies) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| # GitHub Release Notes Configuration | ||
| # This file configures automatic categorization of pull requests in release notes | ||
| # See: https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes | ||
|
|
||
| changelog: | ||
| exclude: | ||
| labels: | ||
| - ignore-for-release | ||
| - duplicate | ||
| - question | ||
| - invalid | ||
| - wontfix | ||
| authors: | ||
| - dependabot | ||
| - renovate | ||
|
|
||
| categories: | ||
| - title: 🚀 Features | ||
| labels: | ||
| - feature | ||
| - enhancement | ||
|
|
||
| - title: 🐛 Bug Fixes | ||
| labels: | ||
| - bug | ||
| - fix | ||
|
|
||
| - title: 📚 Documentation | ||
| labels: | ||
| - documentation | ||
| - docs | ||
|
|
||
| - title: 🔧 Technical Debt | ||
| labels: | ||
| - technical-debt | ||
| - refactor | ||
| - cleanup | ||
|
|
||
| - title: 🏗️ Infrastructure | ||
| labels: | ||
| - ci | ||
| - build | ||
| - infrastructure | ||
|
|
||
| - title: ⚡ Performance | ||
| labels: | ||
| - performance | ||
| - optimization | ||
|
|
||
| - title: 🧪 Testing | ||
| labels: | ||
| - test | ||
| - testing | ||
|
|
||
| - title: 🔒 Security | ||
| labels: | ||
| - security | ||
| - vulnerability | ||
|
|
||
| - title: 📦 Dependencies | ||
| labels: | ||
| - dependencies | ||
| - deps | ||
|
|
||
| - title: 🔄 Other Changes | ||
| labels: | ||
| - "*" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| # This file is part of the jebel-quant/rhiza repository | ||
| # (https://github.com/jebel-quant/rhiza). | ||
| # | ||
| # Configuration: GitHub Secret Scanning | ||
| # | ||
| # Purpose: Configure GitHub secret scanning to identify and prevent accidental | ||
| # exposure of secrets, credentials, and tokens in the repository. | ||
| # | ||
| # Note: Secret scanning must be enabled in repository Settings > | ||
| # Security > Code security and analysis > Secret scanning. | ||
| # | ||
| # Documentation: https://docs.github.com/en/code-security/secret-scanning/configuring-secret-scanning-for-your-repository | ||
|
|
||
| paths-ignore: | ||
| # Ignore test fixtures that may contain example/fake secrets | ||
| - ".rhiza/tests/**" | ||
| - "tests/**" | ||
| # Ignore documentation that references example tokens/keys | ||
| - "docs/**/*.md" | ||
| - "book/**" | ||
|
Comment on lines
+14
to
+20
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Avoid excluding all docs and book content from secret scanning. Line 19 and Line 20 disable scanning for large human-authored areas where accidental token pastes often happen. Keep fixture-style exclusions, but narrow docs/book ignores to specific synthetic test files only. 🤖 Prompt for AI Agents |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| # This file is part of the jebel-quant/rhiza repository | ||
| # (https://github.com/jebel-quant/rhiza). | ||
| # | ||
| # Workflow: Benchmarks | ||
| # | ||
| # Purpose: Run the benchmark suite on pushes to main to create a measurable | ||
| # performance baseline over time. | ||
| # | ||
| # Trigger: This workflow runs on pushes to the main branch. | ||
|
|
||
| name: "(RHIZA) BENCHMARK" | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
|
Comment on lines
+17
to
+19
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Benchmark workflow trigger misses the active branch. Line 19 only listens to 🤖 Prompt for AI Agents |
||
|
|
||
| jobs: | ||
| benchmark: | ||
| uses: jebel-quant/rhiza/.github/workflows/rhiza_benchmark.yml@v0.18.7 | ||
| secrets: inherit | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Scope Bandit B101 suppression to tests instead of disabling it globally.
skips = B101turns off assert-misuse detection repo-wide, which weakens security checks for runtime code. Keep B101 enabled globally and exclude/assert-ignore only test paths.Suggested adjustment
🤖 Prompt for AI Agents