diff options
author | Alexey Pelykh <alexey.pelykh@gmail.com> | 2023-03-01 19:23:13 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-01 20:23:13 +0100 |
commit | 9fe47a96615ba765dd160c8d63d1c2b973b943f0 (patch) | |
tree | 6653e9b733d1a3a4ecd3eee5db1937162b08a1f4 /doc | |
parent | cbdf7af3e80824912f4dbad7f09f1f22940d464b (diff) | |
download | pylint-git-9fe47a96615ba765dd160c8d63d1c2b973b943f0.tar.gz |
Support globbing pattern for input specification (#8312)
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/user_guide/usage/run.rst | 7 | ||||
-rw-r--r-- | doc/whatsnew/fragments/8310.feature | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/doc/user_guide/usage/run.rst b/doc/user_guide/usage/run.rst index 006327f40..b9dfedc88 100644 --- a/doc/user_guide/usage/run.rst +++ b/doc/user_guide/usage/run.rst @@ -52,6 +52,13 @@ If the analyzed sources use implicit namespace packages (PEP 420), the source ro be specified using the ``--source-roots`` option. Otherwise, the package names are detected incorrectly, since implicit namespace packages don't contain an ``__init__.py``. +Globbing support +---------------- + +It is also possible to specify both directories and files using globbing patterns:: + + pylint [options] packages/*/src + Command line options -------------------- diff --git a/doc/whatsnew/fragments/8310.feature b/doc/whatsnew/fragments/8310.feature new file mode 100644 index 000000000..a835be097 --- /dev/null +++ b/doc/whatsnew/fragments/8310.feature @@ -0,0 +1,3 @@ +Support globbing pattern when defining which file/directory/module to lint. + +Closes #8310 |