Back to list
arashout

python-lint-check

by arashout

0🍴 0📅 Jan 5, 2026

SKILL.md


name: python-lint-check description: Use when writing or modifying Python code to verify linting and type correctness before committing

Python Lint & Type Check

Run ruff for linting and pyright for type checking.

Commands

# Lint with ruff
python -m ruff check .

# Auto-fix linting issues
python -m ruff check --fix .

# Type check with pyright
python -m pyright

Workflow

  1. After modifying Python files, run python -m ruff check .
  2. Fix issues or run with --fix for auto-fixable problems
  3. Run python -m pyright for type errors
  4. Address any type errors before committing

Common Ruff Fixes

CodeIssueFix
F401Unused importRemove import
F841Unused variableRemove or prefix with _
E501Line too longBreak line or disable per-line
I001Import orderRun --fix

Pyright Tips

  • Use # type: ignore sparingly for false positives
  • Add type hints to function signatures to catch more errors
  • Check pyrightconfig.json or pyproject.toml for config

Script Arguments

When modifying argparse arguments in any script, update the corresponding section in README.md to keep documentation in sync.

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon