A lightweight command-line linter for Python code.

3 Open Issues Need Help Last updated: Jun 19, 2025

Open Issues Need Help

View All on GitHub

AI Summary: Implement an auto-fix feature for the PyWard linter to automatically remove unused variables from Python code when the `--fix` flag is used. The implementation must handle various assignment scenarios, including simple assignments, multiple assignments, unpacking, and function arguments, while ensuring that no valid code is broken. Thorough unit testing is required to verify the correctness of the auto-fix functionality.

Complexity: 4/5
good first issue Python auto-fix

A lightweight command-line linter for Python code.

Python

AI Summary: Add a command-line argument (`--version` or similar) to the PyWard CLI that prints the current version number and then exits the program. This requires modifying the argument parsing and adding version information retrieval.

Complexity: 2/5
enhancement good first issue Python

A lightweight command-line linter for Python code.

Python

AI Summary: The task is to debug and fix a bug in the PyWard linter's `--fix` functionality for unused imports. Currently, when removing unused imports from a `from` clause, the entire clause is removed instead of just the unused imports. The fix should selectively remove only the unused imports, leaving the remaining imports intact. The error handling needs improvement to prevent crashes when encountering invalid syntax during the fix process.

Complexity: 4/5
help wanted good first issue Python auto-fix

A lightweight command-line linter for Python code.

Python