load config from pyproject.toml (#143)

* load-toml

* move toml to extras_require

* fix linter, add hint

* Update toml PR

- always install toml deps, we can add it to all installs
- don't override the command line config values with the ones from the config files
- handle getboolean again for configparser
- be able to have both a toml and another config file, and both configs are taken into account

* Add changelog message for later

Co-authored-by: aakrivonos <aakrivonos@domclick.ru>
Co-authored-by: David-Wobrock <david.wobrock@gmail.com>
This commit is contained in:
authored and GitHub committed 2021-05-25 23:20:07 +02:00
1 parent e56d96a35b
commit 91e0147f9b
3 files changed
+61 -59

No files matched your search

+2 -1
View File
@@ -36,6 +36,7 @@ setup(
"appdirs>=1.4.3",
'enum34>=1.1.6;python_version<"3.4"',
"six>=1.14.0",
"toml>=0.10.2",
],
extras_require={
"test": [
@@ -45,7 +46,7 @@ setup(
"django_add_default_value>=0.4.0",
'mock>=3.0.5;python_version<"3.3"',
'backports.tempfile>=1.0;python_version<="2.7"',
]
],
},
keywords="django migration lint linter database backward compatibility",
classifiers=[