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

psf / black / 1331
96%

Build:
DEFAULT BRANCH: master
Ran 13 Nov 2020 03:29PM UTC
Jobs 5
Files 11
Run time 55s
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
1331

push

travis-ci-com

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>

4660 of 4885 relevant lines covered (95.39%)

3.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1331.1 (TEST_CMD="pre-commit run --all-files --show-diff-on-failure") 13 Nov 2020 03:29PM UTC 0
0.0
Travis Job 1331.1
2 1331.2 (TEST_CMD="tox -e py") 13 Nov 2020 03:29PM UTC 0
95.11
Travis Job 1331.2
3 1331.3 (TEST_CMD="tox -e py") 13 Nov 2020 03:29PM UTC 0
95.11
Travis Job 1331.3
4 1331.4 (TEST_CMD="tox -e py") 13 Nov 2020 03:30PM UTC 0
95.2
Travis Job 1331.4
5 1331.5 (TEST_CMD="tox -e py") 13 Nov 2020 03:30PM UTC 0
95.18
Travis Job 1331.5
Source Files on build 1331
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #1331
  • dea81b7a on github
  • Prev Build on master (#1330)
  • Next Build on master (#2292)
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