Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,3 +158,9 @@ jobs:
echo "Make sure that 'tox -e docs' succeed without any modifications locally." ; \
exit 1; \
}
- name: Check that generated documentation is up to date
run: |
if ! git diff --exit-code; then
echo "::error::Generated documentation is out of date. Run 'tox -e docs' locally and commit the changes."
exit 1
fi
2 changes: 1 addition & 1 deletion doc/user_guide/checkers/extensions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ Verbatim name of the checker is ``dict-init-mutate``.

Dict-Init-Mutate checker Messages
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
:dict-init-mutate (C3401): *Declare all known key/values when initializing the dictionary.*
:dict-init-mutate (C3401): *Declare all known key/values when initializing the dictionary: %s*
Dictionaries can be initialized with a single statement using dictionary
literal syntax.

Expand Down
10 changes: 9 additions & 1 deletion doc/user_guide/configuration/all-options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Standard Checkers
^^^^^^^^^^^^^^^^^

Remember that only ``tool.pylint`` is required, the section title is not. There are specific notes under each example that cover this.

.. _main-options:

Expand Down Expand Up @@ -91,6 +90,13 @@ Remember that only ``tool.pylint`` is required, the section title is not. There
**Default:** ``10``


--files
"""""""
*The files to lint. The flag can also be omitted as pylint will try to lint any file passed as argument. This can be used to set files to a directory in a configuration file and invoke pylint by only typing pylint on the command line. Any file passed as argument will overwrite any file set in the configuration file.*

**Default:** ``[]``


--from-stdin
""""""""""""
*Interpret the stdin as a python script, whose filename needs to be passed as the module_or_package argument.*
Expand Down Expand Up @@ -250,6 +256,8 @@ Remember that only ``tool.pylint`` is required, the section title is not. There

fail-under = 10

files = []

from-stdin = false

ignore = ["CVS"]
Expand Down
Loading