Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit288cf03

Browse files
committed
Don't limit black to git/
This changes the documentation in README.md to recommend running"black ." and changes the command to that in tox.ini, so that morepaths are covered (in practice, test/ and setup.py).
1 parente39ecb7 commit288cf03

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ mypy -p git
159159
For automatic code formatting, run:
160160

161161
```bash
162-
blackgit
162+
black.
163163
```
164164

165165
Configuration for flake8 is in the`./.flake8` file.

‎tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ ignore_outcome = true
2323
[testenv:black]
2424
description = Check style with black
2525
base_python = py39
26-
commands = black --check --diffgit
26+
commands = black --check --diff.
2727

2828
# Run "tox -e html" for this. It is deliberately excluded from env_list, as
2929
# unlike the other environments, this one writes outside the .tox/ directory.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp