This repository was archived by the owner on Sep 10, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +0
-98
lines changed Expand file tree Collapse file tree 2 files changed +0
-98
lines changed Original file line number Diff line number Diff line change 8181 name: .circleci/config.yml not in sync with config.yml.in! Run '$ python .circleci/regenerate.py' to fix this.
8282 command: exit 1
8383
84- lint_python_and_config:
85- docker:
86- - image: circleci/python:3.8
87- steps:
88- - checkout
89- - run:
90- name: Install lint utilities
91- command: pip install --user --progress-bar=off pre-commit
92- - run:
93- name: Install pre-commit hooks
94- command: pre-commit install-hooks
95- - run:
96- name: Lint Python code and config files
97- command: pre-commit run --all-files
98- - run:
99- when: on_fail
100- name: Code format not compliant with the rules! Run '$ pre-commit run --all-files' to fix this.
101- command: exit 1
102-
103- lint_c:
104- docker:
105- - image: circleci/python:3.8
106- steps:
107- - run:
108- name: Install additional system libraries
109- command: |
110- sudo apt update -qy
111- sudo apt install libtinfo5
112- - checkout
113- - run:
114- name: Install lint utilities
115- command: |
116- curl https://oss-clang-format.s3.us-east-2.amazonaws.com/linux64/clang-format-linux64 -o clang-format
117- chmod +x clang-format
118- ./clang-format --version
119- - run:
120- name: Lint C code
121- command: >
122- python run-clang-format.py
123- --recursive
124- --clang-format-executable=./clang-format
125- torchtext/csrc
126- - run:
127- when: on_fail
128- name: Code format not compliant with the rules! Run '$ python run-clang-format.py' to fix this.
129- command: exit 1
130-
13184 smoke_test_docker_image_build:
13285 machine:
13386 image: ubuntu-1604:201903-01
@@ -167,8 +120,6 @@ workflows:
167120 lint:
168121 jobs:
169122 - circleci_consistency
170- - lint_python_and_config
171- - lint_c
172123 docker_build:
173124 triggers:
174125 - schedule:
You can’t perform that action at this time.
0 commit comments