Skip to content

Commit d31f3bb

Browse files
committed
remove lint workflows from CircleCI
1 parent e78b04c commit d31f3bb

File tree

2 files changed

+0
-116
lines changed

2 files changed

+0
-116
lines changed

.circleci/config.yml

Lines changed: 0 additions & 58 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.circleci/config.yml.in

Lines changed: 0 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -269,61 +269,6 @@ jobs:
269269
python .circleci/regenerate.py
270270
git diff --exit-code || (echo ".circleci/config.yml not in sync with config.yml.in! Run .circleci/regenerate.py to update config"; exit 1)
271271

272-
lint_python_and_config:
273-
docker:
274-
- image: cimg/python:3.8
275-
steps:
276-
- checkout
277-
- pip_install:
278-
args: pre-commit
279-
descr: Install lint utilities
280-
- run:
281-
name: Install pre-commit hooks
282-
command: pre-commit install-hooks
283-
- run:
284-
name: Lint Python code and config files
285-
command: pre-commit run --all-files
286-
- run:
287-
name: Required lint modifications
288-
when: on_fail
289-
command: git --no-pager diff
290-
291-
lint_c:
292-
docker:
293-
- image: cimg/python:3.8
294-
steps:
295-
- apt_install:
296-
args: libtinfo5
297-
descr: Install additional system libraries
298-
- checkout
299-
- run:
300-
name: Install lint utilities
301-
command: |
302-
curl https://oss-clang-format.s3.us-east-2.amazonaws.com/linux64/clang-format-linux64 -o clang-format
303-
chmod +x clang-format
304-
sudo mv clang-format /opt/clang-format
305-
- run:
306-
name: Lint C code
307-
command: ./.circleci/unittest/linux/scripts/run-clang-format.py -r torchvision/csrc --clang-format-executable /opt/clang-format
308-
- run:
309-
name: Required lint modifications
310-
when: on_fail
311-
command: git --no-pager diff
312-
313-
type_check_python:
314-
docker:
315-
- image: cimg/python:3.8
316-
steps:
317-
- checkout
318-
- install_torchvision:
319-
editable: true
320-
- pip_install:
321-
args: mypy
322-
descr: Install Python type check utilities
323-
- run:
324-
name: Check Python types statically
325-
command: mypy --install-types --non-interactive --config-file mypy.ini
326-
327272
unittest_onnx:
328273
docker:
329274
- image: cimg/python:3.8
@@ -996,9 +941,6 @@ workflows:
996941
lint:
997942
jobs:
998943
- circleci_consistency
999-
- lint_python_and_config
1000-
- lint_c
1001-
- type_check_python
1002944

1003945
build:
1004946
jobs:

0 commit comments

Comments
 (0)