Skip to content

Commit 404b847

Browse files
authored
Add test-requirements.txt file (#652)
1 parent d63955f commit 404b847

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ jobs:
1818
python-version: 3.8
1919
- name: Install Lint Dependencies
2020
run: |
21-
pip install pyflakes==2.3.0 black==20.8b1 pytype==2021.5.25 --no-cache-dir
21+
pip install -r test-requirements.txt --no-cache-dir
2222
sudo wget -O /usr/local/bin/buildifier https://github.com/bazelbuild/buildtools/releases/download/4.0.1/buildifier-linux-amd64
2323
sudo chmod +x /usr/local/bin/buildifier
2424
- name: Run PyFlakes
2525
run: pyflakes larq_compute_engine
2626
- name: Black code style
27-
run: black larq_compute_engine --check --target-version py36 --exclude 'build/|buck-out/|dzzist/|_build/|\.git/|\.hg/|\.mypy_cache/|\.tox/|\.venv/|larq/snapshots/'
27+
run: black larq_compute_engine --check --target-version py36
2828
- name: clang-format lint
2929
uses: DoozyX/clang-format-lint-action@v0.12
3030
with:

test-requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
black==21.5b1
2+
pyflakes==2.3.1
3+
pytype==2021.5.25

0 commit comments

Comments
 (0)