Skip to content

Commit cf01e37

Browse files
committed
black --diff so user knows what to fix
1 parent 58a1d93 commit cf01e37

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.travis.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ install:
1515
- python setup.py sdist bdist_wheel
1616
script:
1717
- pytest --verbose --color=yes
18-
- black --check .
18+
# if the following command fails, run `black .` locally to reformat the code
19+
- black --check --diff .
1920
# temporary workaround for portray "Module not found" error https://git.io/JeR9C
2021
- export PYTHONPATH=.
2122
- portray as_html --overwrite --output_dir=docs

manubot/process/tests/test_bibliography.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22

33
import pytest
44

5-
from manubot.pandoc.tests.test_bibliography import (
6-
bibliography_paths # list of 4 paths: 'bibliography.bib', 'bibliography.json',
7-
# 'bibliography.nbib', 'bibliography.ris'
8-
,
9-
)
5+
from manubot.pandoc.tests.test_bibliography import bibliography_paths
106
from manubot.process.bibliography import load_manual_references
117

128

0 commit comments

Comments
 (0)