Files
pytorch/codecov.yml
Sam Estep 8c798e0622 Forbid trailing whitespace (#53406)
Summary:
Context: https://github.com/pytorch/pytorch/pull/53299#discussion_r587882857

These are the only hand-written parts of this diff:
- the addition to `.github/workflows/lint.yml`
- the file endings changed in these four files (to appease FB-internal land-blocking lints):
  - `GLOSSARY.md`
  - `aten/src/ATen/core/op_registration/README.md`
  - `scripts/README.md`
  - `torch/csrc/jit/codegen/fuser/README.md`

The rest was generated by running this command (on macOS):
```
git grep -I -l ' $' -- . ':(exclude)**/contrib/**' ':(exclude)third_party' | xargs gsed -i 's/ *$//'
```

I looked over the auto-generated changes and didn't see anything that looked problematic.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/53406

Test Plan:
This run (after adding the lint but before removing existing trailing spaces) failed:
- https://github.com/pytorch/pytorch/runs/2043032377

This run (on the tip of this PR) succeeded:
- https://github.com/pytorch/pytorch/runs/2043296348

Reviewed By: walterddr, seemethere

Differential Revision: D26856620

Pulled By: samestep

fbshipit-source-id: 3f0de7f7c2e4b0f1c089eac9b5085a58dd7e0d97
2021-03-05 17:22:55 -08:00

31 lines
645 B
YAML

coverage:
status:
project:
default:
threshold: 1%
patch: off
codecov:
notify:
# Code coverage is collected by 6 configs: codecov_test[12], onnx[12] and windows_test[2]
after_n_builds: 6
comment:
layout: "diff"
behavior: once
require_changes: true
require_base: yes
require_head: yes
after_n_builds: 6
branches:
- "master"
# Disable inline comments that this code is not covered
github_checks:
annotations: false
fixes:
- "/opt/conda/lib/python3.8/site-packages/::project/"
- "C:/Users/circleci/project/build/win_tmp/build/::project/"
ignore:
- "caffe2"
- "third_party"
- "test"