Fixit icon indicating copy to clipboard operation
Fixit copied to clipboard

Advanced Python linting framework with auto-fixes and hierarchical configuration that makes it easy to write custom in-repo lint rules.

Results 112 Fixit issues
Sort by recently updated
recently updated
newest added

``` File "/opt/hostedtoolcache/Python/3.10.5/x64/lib/python3.10/site-packages/fixit/common/flake8_compat.py", line 135, in reset arguments=self.args, AttributeError: 'Flake8CompatApplication' object has no attribute 'args' ``` That attribute was removed in https://github.com/PyCQA/flake8/commit/8d3afe40e1e8ba70418bada82608d47e61eedb8f which got released in 5.0.0

## Summary Fixes an incompatibility of the currently used Sphinx version with Jinja2 3.1. Simple fix until this project is ready to move to a newer version of Sphinx that...

CLA Signed

## Summary Fixes #193 Since I'm not very familiar with how this tool works, I am unsure whether it is safe to run multiple Fixit processes (which is what pre-commit...

CLA Signed

I found myself unsure of how to update the docs other than regenerating them with `tox -e docs` We should update the README to explain the steps: 1. activate the...

documentation
good first issue

Hi, This docs page mentions `use-ignore-comments`. Yet `fixit run-rules` does not recognise it. Was there an update? docs `https://fixit.readthedocs.io/en/latest/test_a_lint_rule.html?highlight=use-ignore-comments#Run-Your-Rule-in-a-Codebase ` example ``` > fixit run_rules . --use-ignore-comments usage: fixit [-h]...

## Summary Fixes a bug that caused apply_fix to write to a file in text mode rather than bytes mode even though it's trying to write bytes back. ## Test...

CLA Signed

It would be awesome to get out-of-the-box support for [pre-commit](https://pre-commit.com/) as plenty of other linters and auto-formatters such as flake8, pylint, black, or isort provide. This is a matter of...

enhancement

## Summary A lot of this is copy pasting @lisroach's PR #198. Same motivation and 99% same implementation. We'd like configurations in subdirectories to be able to inherit from configurations...

CLA Signed

Inspired by the CI actions in LibCST, this PR: - runs test, lint, and fixit in separate jobs - builds a distribution for pypi - runs on 3.9 and 3.10...

CLA Signed

## Summary This has proven to be extremely useful in LibCST so I'm setting up Fixit the same way. ## Test Plan Monitor main branch CI

CLA Signed