Allow setting the location of `pyproject.toml` file
See original GitHub issueIt would be great to be able to specify the location of the pyproject.toml file for more advanced setups.
black currently allows setting the location of the pyproject.toml file with the --config option.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (7 by maintainers)
Top Results From Across the Web
Configuring setuptools using pyproject.toml files
The example below illustrates how to write a pyproject.toml file that can be used with setuptools . It contains two TOML tables (identified...
Read more >A Practical Guide to Setuptools and Pyproject.toml
An example driven guide to setting up and building a python package using Setuptools together with pyproject.toml.
Read more >The pyproject.toml file | Documentation | Poetry
The pyproject.toml file The tool.poetry section of the pyproject.toml file ... A path, or list of paths corresponding to the README file(s) of...
Read more >What is pyproject.toml file for? - python - Stack Overflow
pyproject.toml is the new unified Python project settings file that replaces setup.py ... Then check what is the path to site-packages directory inside...
Read more >Where to get started with pyproject.toml? - Python Help
toml means this is a Python project. setup.cfg means it is using setuptools for packaging. setup.py means it also uses setuptools during ...
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

Proposal from discussion on #10 with @098799:
Add an optional flake8 setting for the plugin (i.e. in file
.flake8,setup.cfg, ortox.ini- whatever the user has picked), giving the filename of a black configuration file to use.e.g. Something like this (not sure about the best key name to use here, suggestions?):
This would be like using
black --config /mnt/shared/config/black.toml ...at the command line?We should be able to, much like how earlier iterations of this plugin accessed the max-line-length setting.