Bug 466152 - Default filters are hiding several developer-relevant configurations
Summary: Default filters are hiding several developer-relevant configurations
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: file tree (show other bugs)
Version: 5.10.221202
Platform: Neon Linux
: NOR wishlist
Target Milestone: ---
Assignee: Alex Lowe
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-20 17:52 UTC by Alex Lowe
Modified: 2023-02-21 08:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 5.11.230400
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Lowe 2023-02-20 17:52:27 UTC
This is similar to #466044. Listing some linters whose configuration files are hidden by default that should probably be unhidden:

* Pylint (https://pylint.readthedocs.io/en/stable/user_guide/usage/run.html#command-line-options)
  - .pylintrc
* isort (https://pycqa.github.io/isort/docs/configuration/config_files.html)
  - `.isort.cfg`
* pydocstyle (https://www.pydocstyle.org/en/stable/usage.html#configuration-files)
  - .pydocstyle
  - .pydocstyle.ini
  - .pydocstylerc
  - .pydocstylerc.ini
* yamllint (https://yamllint.readthedocs.io/en/stable/configuration.html#configuration)
  - .yamllint
  - .yamllint.yaml
  - .yamllint.yml
* readthedocs (https://docs.readthedocs.io/en/stable/config-file/v2.html)
  - .readthedocs.yaml
* codespell (https://github.com/codespell-project/codespell#using-a-config-file)
  - .codespellrc
* mypy (https://mypy.readthedocs.io/en/stable/config_file.html)
  - .mypy.ini
* clippy (https://github.com/rust-lang/rust-clippy#configure-the-behavior-of-some-lints)
  - .clippy.toml

Of these, the following also accept unhidden files or standard project configuration files (e.g. pyproject.toml or setup.cfg for Python):
* pylint (prefers pylintrc over hidden version, accepts pyproject.toml and setup.cfg)
* isort (accepts pyproject.toml, setup.cfg, tox.ini and .editorconfig)
* pydocstyle (accepts setup.cfg, tox.ini and pyproject.yaml)
* codespell (accepts setup.cfg or pyproject.toml)
* mypy (prefers unhidden mypy.ini, accepts pyproject.toml or setup.cfg)
* clippy (prefers clippy.toml)


The following require a file that's currently excluded:
* yamllint
* readthedocs
Comment 1 Bug Janitor Service 2023-02-20 21:13:37 UTC
A possibly relevant merge request was started @ https://invent.kde.org/kdevelop/kdevelop/-/merge_requests/444
Comment 2 Milian Wolff 2023-02-21 08:27:43 UTC
Git commit f8525f1642d1883d063ddb4686731230c28752ae by Milian Wolff, on behalf of Alex Lowe.
Committed on 21/02/2023 at 08:03.
Pushed by mwolff into branch 'master'.

Add include filters for various code quality tools
FIXED-IN: 5.11.230400

M  +22   -4    plugins/projectfilter/filter.cpp
M  +25   -1    plugins/projectfilter/tests/test_projectfilter.cpp

https://invent.kde.org/kdevelop/kdevelop/commit/f8525f1642d1883d063ddb4686731230c28752ae