-
Updated
Oct 6, 2020 - Python
linter
Here are 195 public repositories matching this topic...
-
Updated
Oct 2, 2020 - Python
-
Updated
Oct 7, 2020 - Python
-
Updated
Oct 6, 2020 - Python
Describe the bug
In the docs found here:
https://bandit.readthedocs.io/en/latest/plugins/index.html#complete-test-plugin-listing
B109 and B111 show a description instead of a plugin name. This looks inconsistent since all the other plugin names are listed. I believe this is a result of a recent change to remove these deprecated plugins.
To Reproduce
- Navigate to https://bandit
We have this forever, but
We should check view.file_name() actually for correctness.
-
Updated
Oct 5, 2020 - Python
*cfn-lint version: 0.35.0
After validating a template that had a Sub function use like this:
field: !Sub
- "my string with ${parameter}
- parameter: 10
I received the following error message:
E1019 Sub parameter should be an object of 1 or string for *trimmed path*Fn::Sub
This message did not help me understand that the object cannot have an integer value, but only a string.
Rule request
Thesis
There might be some crazy examples of mutation, when assigning to a slice:
my_list = [1, 2, 3]
my_list[0:3] = [0, 0, 0]So, let's ban this.
However, we still allow regular index assignments:
my_list = [1, 2,-
Updated
Oct 3, 2020 - Python
-
Updated
Sep 8, 2020 - Python
-
Updated
Jan 17, 2020 - Python
-
Updated
Sep 7, 2020 - Python
-
Updated
May 28, 2020 - Python
-
Updated
Sep 7, 2020 - Python
-
Updated
Feb 19, 2020 - Python
-
Updated
Aug 2, 2020 - Python
-
Updated
Oct 3, 2020 - Python
QST Ignore directory
I tried making a config file as follows:
[darglint]
docstring_style=numpy
ignore_regex=venv
and then to run
darglint .
, but it still catches errors in files from venv. How can I exclude venv from the config file?
Am happy to submit a PR to address this if it's indeed a bug
-
Updated
Aug 23, 2020 - Python
Improve this page
Add a description, image, and links to the linter topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the linter topic, visit your repo's landing page and select "manage topics."
Elm has the option to output errors as JSON (via a flag), and something like that is handy for writing tooling around it. I'm trying to integrate
pytypeinto ALE and this would make it a lot easier.