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 8 months ago committed by GitHub
parent b49a261870
commit fb0fbb4772
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG
  2. 3
      setup.py

@ -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.

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

Loading…
Cancel
Save