Skip to content

Commit 8046eba

Browse files
authored
Add requirements-dev.txt (WebAssembly#3377)
This file makes it simple for users and CI bots to install all the Python dev dependencies necessary to run the test suite. Right now it only contains flake8, but soon it will contain lit and filecheck as well (see WebAssembly#3367).
1 parent 636c56b commit 8046eba

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/checkout@v1
2222
- name: install tools
2323
run: |
24-
sudo pip3 install flake8==3.7.8
24+
sudo pip3 install -r requirements-dev.txt
2525
sudo apt-get install clang-format clang-tidy
2626
- name: update path
2727
run: echo "PATH=$PATH:/usr/lib/llvm-8/bin" >> $GITHUB_ENV

requirements-dev.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# These requirements are only needed for developers who want to run the test
2+
# suite or flake8, not for end users.
3+
4+
# Install with `pip3 install -r requirements-dev.txt`
5+
6+
flake8==3.7.8

0 commit comments

Comments
 (0)