mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Apply Black to code examples in documentation, refs #1718
Uses blacken-docs. This has a deliberate error which I hope will fail CI.
This commit is contained in:
parent
40ef8ebac2
commit
36573638b0
5 changed files with 81 additions and 41 deletions
3
setup.py
3
setup.py
|
|
@ -65,13 +65,14 @@ setup(
|
|||
""",
|
||||
setup_requires=["pytest-runner"],
|
||||
extras_require={
|
||||
"docs": ["sphinx_rtd_theme", "sphinx-autobuild", "codespell"],
|
||||
"docs": ["sphinx_rtd_theme", "sphinx-autobuild", "codespell", "blacken-docs"],
|
||||
"test": [
|
||||
"pytest>=5.2.2,<7.2.0",
|
||||
"pytest-xdist>=2.2.1,<2.6",
|
||||
"pytest-asyncio>=0.17,<0.19",
|
||||
"beautifulsoup4>=4.8.1,<4.12.0",
|
||||
"black==22.1.0",
|
||||
"blacken-docs==1.12.1",
|
||||
"pytest-timeout>=1.4.2,<2.2",
|
||||
"trustme>=0.7,<0.10",
|
||||
"cogapp>=3.3.0",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue