Support for project-level config files
See original GitHub issueElevator Pitch
Filtering the relevant diagnostics should be as easy as git clone
ing a repo with a project-level setup.cfg
.
Motivation
We are working collaboratively on a repo of Jupyter notebooks. When working on a Python project, we are accustomed to have a setup.cfg
that configures the linters for the whole project. The same convenience should be in place for this repo of notebooks.
Design Ideas
A difficulty that I see is that at the moment jupyter-lsp
does not seem to have a concept of “project boundary”. Therefore it might be an issue to find project-level configuration files.
Possible solutions:
- simply walk up the file tree a number of levels
- use
git rev-parse --show-toplevel
if available and find config files there and in any sub-directories
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Config file: support for project level options #9188 - GitHub
Project level options in the UI; Version/build level options in the config file (except for a couple); We have a default branch (usually...
Read more >Simpler configuration management with project level config
<stack>.yaml file. Project level config just gives you the ability to set default values for all stacks in your Pulumi.yaml .
Read more >Configuration files for code analysis rules - .NET
Global AnalyzerConfig file: Project-level configuration options. Useful when some project files reside outside the project folder.
Read more >Project-level Secure Files - GitLab Docs
Secure files support both plain text and binary file types. You can manage secure files in the project settings, or with the secure...
Read more >config | Data Version Control - DVC
The following config sections are written by this command to the appropriate config file ( .dvc/config by default), supporting different config options within:....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I would such placement of
setup.cfg
to work. Feel free to open an issue in https://github.com/python-lsp/python-lsp-server; if you feel comfortable with Python you might be the best person to debug this at the moment, I don’t believe any one else touched this code recently.I tried both config files and it does not seem to change anything. The directory that appears when JupyterLab is ready is still
/home/jovyan
.