-
```python
CONSTANT = 1
def fn(x):
global CONSTANT #
-
See znicholls/mesmer-openscmrunner#6
-
Tested on flake8-pie-0.4.2
**test.py**
```py
v = 3.14159
print(f"{v:0.2f}")
```
```
$ python3 test.py
3.14
$ flake8 --select PIE782 test.py
test.py:2:7: PIE782: Unnecessary f-string. Y…
-
```
$ python complex_tensor.py
ComplexTensor(real=tensor([[-5]]), imag=tensor([[10]]))
$
/home/albandes/local/pytorch/3.11_debug_source/torch/_inductor/compile_worker/__main__.py:45: ResourceWar…
-
Since the python documentation isn't built for PRs, many docstring issues get committed into the active branch and are only caught right before release. There are flake8 extensions which can check doc…
-
I just came across a missing import that wasn't caught by the unit tests, but would have been with a code checker like Flake8 or Pylint. Can we run one of those as part of the CI?
-
### Subtask Overview
This subtask involves setting up a Continuous Integration/Continuous Deployment (CI/CD) pipeline for the AgentM Python migration to automate testing and code quality checks.
###…
-
### how did you install flake8?
```console
pip install flake8
```
also when cloned from github master
### unmodified output of `flake8 --bug-report`
```json
{
"platform": {
"p…
-
I run at my projects Continuous Integration separately Flake8 and Pytest.
Honesty, I have no clue what is the purpose of this plugin if anyone can run Flake8 at his CI and then Pytest.
-
**Describe the task**
Those plugins were mentioned in this Tweet:
https://twitter.com/AdamChainz/status/1485588750990200832
Worth to check and add as pre-commit hook