Skip to content

Conversation

@ogenstad
Copy link
Contributor

@ogenstad ogenstad commented Feb 10, 2026

Adds a specific invoke command for all code linters. The reason for this is to prevent AI tools from constantly running yaml lint or documentation linting when we've only updated actual code.

The PR also include some minor changes to the AGENTS.md file to include the new command as well as some cleanup of headers with regards to the vale styles.

Summary by CodeRabbit

  • Documentation

    • Updated linting documentation with clearer command descriptions, normalized section headings, and expanded subdirectory guides.
  • Refactor

    • Reorganized linting task structure to consolidate code linting operations into a unified command workflow.

@coderabbitai
Copy link

coderabbitai bot commented Feb 10, 2026

Walkthrough

The pull request updates linting infrastructure and documentation. In tasks.py, a new lint_code task is introduced that consolidates code linting operations (ruff, mypy, and type checking), and the lint_all task is refactored to use this new task. The AGENTS.md documentation file is updated to reflect these linting changes, with headings normalized to sentence case, messaging clarified to indicate all linters covered, and a new subdirectory guide link added.

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: adding a new invoke command (lint_code) specifically for code linting, which is the primary purpose of this PR.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


No actionable comments were generated in the recent review. 🎉

Tip

We've launched Issue Planner and it is currently in beta. Please try it out and share your feedback on Discord!


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 10, 2026

Deploying infrahub-sdk-python with  Cloudflare Pages  Cloudflare Pages

Latest commit: 878683b
Status: ✅  Deploy successful!
Preview URL: https://f7a5579a.infrahub-sdk-python.pages.dev
Branch Preview URL: https://pog-lint-code-task.infrahub-sdk-python.pages.dev

View logs

@codecov
Copy link

codecov bot commented Feb 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

@@            Coverage Diff             @@
##           stable     #815      +/-   ##
==========================================
- Coverage   80.37%   80.34%   -0.04%     
==========================================
  Files         115      115              
  Lines        9873     9873              
  Branches     1504     1504              
==========================================
- Hits         7935     7932       -3     
- Misses       1416     1420       +4     
+ Partials      522      521       -1     
Flag Coverage Δ
integration-tests 41.41% <ø> (-0.04%) ⬇️
python-3.10 51.38% <ø> (ø)
python-3.11 51.40% <ø> (+0.02%) ⬆️
python-3.12 51.38% <ø> (-0.03%) ⬇️
python-3.13 51.40% <ø> (+0.02%) ⬆️
python-3.14 53.05% <ø> (+0.02%) ⬆️
python-filler-3.12 24.06% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ogenstad ogenstad marked this pull request as ready for review February 10, 2026 14:35
@ogenstad ogenstad requested a review from a team February 10, 2026 14:36
@ogenstad ogenstad merged commit 089656f into stable Feb 10, 2026
21 checks passed
@ogenstad ogenstad deleted the pog-lint-code-task branch February 10, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants