Added pyproject extra to install toml package as an optional dependency (#964)

* Add toml package as a dependency

* Make toml an optional dependency via new pyproject extra
pull/996/head
Mauricio Herrera Cuadra 2022-02-08 11:27:53 -08:00 committed by GitHub
parent b49a261870
commit fb0fbb4772
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,7 @@
- Rename "unwrapped_line" module to "logical_line."
- Rename "UnwrappedLine" class to "LogicalLine."
### Fixed
- Added pyproject extra to install toml package as an optional dependency.
- Enable `BLANK_LINE_BEFORE_NESTED_CLASS_OR_DEF` knob for "pep8" style, so
method definitions inside a class are surrounded by a single blank line as
prescribed by PEP8.

View File

@ -77,4 +77,7 @@ with codecs.open('README.rst', 'r', 'utf-8') as fd:
cmdclass={
'test': RunTests,
},
extras_require={
'pyproject': ['toml'],
},
)