From f0f9a459b4859edbf059a76655250d70531ac786 Mon Sep 17 00:00:00 2001 From: Arnav Jindal Date: Mon, 6 Sep 2021 18:36:36 +0530 Subject: [PATCH 1/3] Create ci.yml --- .github/workflows/ci.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..0e4d1b3f --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,31 @@ +name: CI + +on: [push, pull_request] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: checkout + uses: actions/checkout@v2 + + - name: Setup Python + uses: actions/setup-python@v1 + with: + python-version: 3.8 + + - name: Setup node.js (for pyright) + uses: actions/setup-node@v1 + with: + node-version: "14" + + - name: Run type checking + run: | + npm install -g pyright + pip install -r requirements.txt + pyright --lib --verifytypes discord --ignoreexternal + + - name: Lint Code Base + uses: github/super-linter@v4 + env: + VALIDATE_ALL_CODEBASE: false -- 2.47.2 From ed0e401c65d052396db1afa4318ed1a5990c8dd6 Mon Sep 17 00:00:00 2001 From: Arnav Jindal Date: Mon, 6 Sep 2021 18:39:16 +0530 Subject: [PATCH 2/3] Create .python-black --- .python-black | 1 + 1 file changed, 1 insertion(+) create mode 100644 .python-black diff --git a/.python-black b/.python-black new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/.python-black @@ -0,0 +1 @@ + -- 2.47.2 From a8deebb67d89477b015a2a6b249f1389d259344a Mon Sep 17 00:00:00 2001 From: Arnav Jindal Date: Mon, 6 Sep 2021 18:43:13 +0530 Subject: [PATCH 3/3] Remove linting --- .github/workflows/ci.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0e4d1b3f..f4dd5c56 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,8 +24,3 @@ jobs: npm install -g pyright pip install -r requirements.txt pyright --lib --verifytypes discord --ignoreexternal - - - name: Lint Code Base - uses: github/super-linter@v4 - env: - VALIDATE_ALL_CODEBASE: false -- 2.47.2