Allow global config.
See original GitHub issueA global configuration file (e.g. ~/.config/yapf/style
) would be handy. The motivation is that I pretty much always use a line width of 100 and always want to dedent closing brackets. I don’t want to be specifying these on the command line every time I run YAPF, I want a global configuration that will be the lowest priority, immediately before the built-in config.
So the order would go:
- Command-line style.
.style.yapf
~/.config/yapf/style
- Default options.
Issue Analytics
- State:
- Created 8 years ago
- Comments:11 (6 by maintainers)
Top Results From Across the Web
How to set important Git config global properties | TechTarget
List and show global git config. To see all of properties configured globally in Git, you can use the –list switch on the...
Read more >Using the Global Configuration Object - AWS SDK for JavaScript
The global configuration specified by AWS.Config provides default settings for service objects that you create subsequently, simplifying their configuration.
Read more >git-config Documentation - Git
Opens an editor to modify the specified config file; either --system , --global , or repository (default). --[no-]includes. Respect include.* directives in ...
Read more >Using the Command Line Interface - Cisco
enable command. Switch#. To exit to user EXEC mode, enter the disable command. To enter global configuration mode, enter the configure command. Global....
Read more >Paper Global Config | PaperMC Documentation
This will exclusively change the radius of chunks sent to the client and will not affect server-side chunk loading or ticking. enable-frustum- ...
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 Free
Top 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
I’m not sure what you mean by that. Basically, it acts similarly to
.style.yapf
. Here’s how we check:.style.yapf
setup.cfg
with a[yapf]
sectionThe check for
.style.yapf
andsetup.cfg
go from the current directory to the parent directories until it either finds one of those files or runs out of parent directories.I just looked up the docs for
XDG_CONFIG_HOME
and it says this: