• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

psf / black / 2292
96%

Build:
DEFAULT BRANCH: master
Ran 13 Nov 2020 04:53PM UTC
Jobs 5
Files 11
Run time 55min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2292

push

travis-ci

web-flow
Provide a stdin-filename to allow stdin to respect force-exclude rules (#1780)

* Provide a stdin-filename to allow stdin to respect exclude/force-exclude rules

This will allow automatic tools to enforce the project's
exclude/force-exclude rules even if they pass the file through stdin to
update its buffer.

This is a similar solution to --stdin-display-name in flake8.

* Update src/black/__init__.py

Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>

* --stdin-filename should only respect --exclude-filename

* Update README with the new --stdin-filename option

* Write some tests for the new stdin-filename functionality

* Apply suggestions from code review

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>

* Force stdin output when we asked for stdin even if the file exists

* Add an entry in the changelog regarding --stdin-filename

* Reduce disk reads if possible

Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>

* Check for is_stdin and p.is_file before checking for p.is_dir()

Co-authored-by: Richard Si <63936253+ichard26@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>

87 of 87 new or added lines in 2 files covered. (100.0%)

4659 of 4885 relevant lines covered (95.37%)

3.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2292.1 (TEST_CMD="pre-commit run --all-files --show-diff-on-failure") 13 Nov 2020 04:53PM UTC 0
0.0
Travis Job 2292.1
2 2292.2 (TEST_CMD="tox -e py") 13 Nov 2020 04:53PM UTC 0
95.11
Travis Job 2292.2
3 2292.3 (TEST_CMD="tox -e py") 13 Nov 2020 05:21PM UTC 0
95.11
Travis Job 2292.3
4 2292.4 (TEST_CMD="tox -e py") 13 Nov 2020 05:48PM UTC 0
95.2
Travis Job 2292.4
5 2292.5 (TEST_CMD="tox -e py") 13 Nov 2020 05:48PM UTC 0
95.18
Travis Job 2292.5
Source Files on build 2292
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2292
  • dea81b7a on github
  • Prev Build on master (#1331)
  • Next Build on master (#1345)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc