-
the script to fix pydantic file should also:
- [ ] add a comment on the top that this is automatically generated
- [ ] remove imports that are not used, flake8 complains
- [ ] think if I want to …
-
- Update the test runner action to test for python 3.10-3.13
- change the required python in pyproject.toml to 3.10
-
Let's add static analysis tools, like flake8/mypy/ruff/etc into the automatic build.
The questions are:
- Which tools do we want to use?
- Which rules?
Maybe we also want to make sure that t…
-
Flake8 test failed:
'''./source/models.py:3:1: E[30](https://github.com/MTHM008/group-exercise-nahum-jonah-oshin/actions/runs/6851055766/job/18626536937#step:3:31)2 expected 2 blank lines, found 1
…
-
When I run `flake8` from the top of the repo, I get the following `**72**` errors.
None of these look as though they are difficult to fix . . . but there are a bunch of them . . . :-P
```
./te…
-
I have
```
type-checking-sqlalchemy-enabled = False
```
but it doesn't seem to affect
```python
from sqlalchemy.sql.expression import Insert, Select
@singledispatchmethod
def _…
-
One of the stated benefits of a persistent `ruff_defaults.toml` generated by `hatch fmt --check --sync` is that it enables consistency with external tools. However, the defaults generated break when o…
-
Consider the following simple example (and common python pattern in general) in django:
to build a management command, one simply inherits from `BaseCommand` and overrides some methods:
```py
fro…
-
```
with import {};
stdenv.mkDerivation {
name = "dckc-pydev";
buildInputs = [ emacs emacsPackages.flycheck pythonPackages.flake8];
}
```
http://sandervanderburg.blogspot.com/2014/07/managing-…
dckc updated
3 months ago
-
# [`flake8-noqa`](https://pypi.org/project/flake8-noqa/)
## Error codes
- [x] `NQA001` "#noqa" must have a single space after the hash, e.g. "# noqa"
- [x] `NQA002` "# noqa X000" must have a co…