@@ -269,61 +269,6 @@ jobs:
269
269
python .circleci/regenerate.py
270
270
git diff --exit-code || (echo ".circleci/config.yml not in sync with config.yml.in! Run .circleci/regenerate.py to update config"; exit 1)
271
271
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
-
327
272
unittest_onnx:
328
273
docker:
329
274
- image: cimg/python:3.8
@@ -996,9 +941,6 @@ workflows:
996
941
lint:
997
942
jobs:
998
943
- circleci_consistency
999
- - lint_python_and_config
1000
- - lint_c
1001
- - type_check_python
1002
944
1003
945
build:
1004
946
jobs:
0 commit comments