Commit graph

6 commits

Author SHA1 Message Date
Paul Gauthier
3c26f90269 aider: Added --show-source argument to flake8 hook in .pre-commit-config.yaml.
# Context:
USER: can we make flake8 output the actual lines that have each error?
ASSISTANT: Yes, we can modify the `.pre-commit-config.yaml` file to include the `--show-source` argument for flake8. This will show the source code lines that have errors.

Here's the change:

```yaml
.pre-commit-config.yaml
<<<<<<< ORIGINAL
  - repo: https://github.com/pycqa/flake8
    rev: 6.0.0
    hooks:
      - id: flake8
=======
  - repo: https://github.com/pycqa/flake8
    rev: 6.0.0
    hooks:
      - id: flake8
        args: ["--show-source"]
>>>>>>> UPDATED
```
2023-05-17 17:55:40 -07:00
Paul Gauthier
84776593d3 black config 2023-05-10 21:35:10 -07:00
Paul Gauthier
36fe08ae13 fixed regex; black config 2023-05-10 21:32:23 -07:00
Paul Gauthier
e2b5c6074f lint 2023-05-09 13:10:38 -07:00
Paul Gauthier
1d0d3c700e added flake8 2023-05-07 22:13:57 -07:00
Paul Gauthier
3c98410d62 init 2023-05-07 22:04:54 -07:00