Skip to content

Commit

Permalink
Merge pull request #1112 from gbregman/devel
Browse files Browse the repository at this point in the history
Add some flake8 info to readme file
  • Loading branch information
gbregman authored Feb 17, 2025
2 parents a758c7c + 6904f7d commit 34f7c46
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,19 @@ curl -O https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
```

Notice that you can disable a specific flake8 error by adding a comment of "noqa:" followed by the error code to the line.
For example:

```
unused_variable = 5 # noqa: F841
```

if you want to ignore a specific error in all files, you can add the error code to the "ignore" field in `tox.ini`.
For example:
```
ignore = E501,E251,E225
```

If you dont have make installed and encounter the error "make: command not found", you can install it by running the following:

```
Expand Down

0 comments on commit 34f7c46

Please sign in to comment.