Skip to content

Commit

Permalink
Switch to code formatter Black: Dev dependencies
Browse files Browse the repository at this point in the history
Usage of `extras_require` suggested by Kostis Anagnostopoulos:
- pydot#265 (comment)
  • Loading branch information
peternowee committed Jun 12, 2021
1 parent cdbfc3e commit 9377e3b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup.py
Expand Up @@ -69,5 +69,11 @@ def get_version():
long_description_content_type="text/markdown",
py_modules=["pydot", "dot_parser"],
install_requires=["pyparsing>=2.1.4"],
extras_require={
"dev": [
"chardet",
"black==21.5b2; python_version > '3.5'",
],
},
tests_require=["chardet"],
)

0 comments on commit 9377e3b

Please sign in to comment.