summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoan Touzet <wohali@users.noreply.github.com>2020-01-31 17:56:00 +0000
committerGitHub <noreply@github.com>2020-01-31 17:56:00 +0000
commita5e9818d0ed4814df8b38c0c11149e14bd65f32f (patch)
tree499a6c690835ac60749a2f81a8f7a5d820f5ee38
parent6124187883922536808d09a5573c959c950e8aa3 (diff)
downloadcouchdb-a5e9818d0ed4814df8b38c0c11149e14bd65f32f.tar.gz
python-black style cleanup (#2505)
-rw-r--r--Makefile4
-rw-r--r--src/mango/test/user_docs.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8ffdba384..7079bca7f 100644
--- a/Makefile
+++ b/Makefile
@@ -215,7 +215,7 @@ python-black: .venv/bin/black
@python3 -c "import sys; exit(1 if sys.version_info >= (3,6) else 0)" || \
LC_ALL=C.UTF-8 LANG=C.UTF-8 .venv/bin/black --check \
--exclude="build/|buck-out/|dist/|_build/|\.git/|\.hg/|\.mypy_cache/|\.nox/|\.tox/|\.venv/|src/rebar/pr2relnotes.py|src/fauxton" \
- . dev/run test/javascript/run
+ . dev/run test/javascript/run src/mango src/docs
python-black-update: .venv/bin/black
@python3 -c "import sys; exit(1 if sys.version_info < (3,6) else 0)" || \
@@ -223,7 +223,7 @@ python-black-update: .venv/bin/black
@python3 -c "import sys; exit(1 if sys.version_info >= (3,6) else 0)" || \
LC_ALL=C.UTF-8 LANG=C.UTF-8 .venv/bin/black \
--exclude="build/|buck-out/|dist/|_build/|\.git/|\.hg/|\.mypy_cache/|\.nox/|\.tox/|\.venv/|src/rebar/pr2relnotes.py|src/fauxton" \
- . dev/run test/javascript/run
+ . dev/run test/javascript/run src/mango src/docs
.PHONY: elixir
elixir: export MIX_ENV=integration
diff --git a/src/mango/test/user_docs.py b/src/mango/test/user_docs.py
index f6a33960e..8f0ed2e04 100644
--- a/src/mango/test/user_docs.py
+++ b/src/mango/test/user_docs.py
@@ -343,7 +343,7 @@ DOCS = [
"city": "Axis",
"address": {"street": "Brightwater Avenue", "number": 1106},
},
- "foo" : "bar car apple",
+ "foo": "bar car apple",
"company": "Pharmex",
"email": "faithhess@pharmex.com",
"favorites": ["Erlang", "Python", "Lisp"],