From 9c37366fec4c5dcd7c0d6881995545be0d2d3336 Mon Sep 17 00:00:00 2001 From: rishideepc Date: Sun, 19 Mar 2023 19:26:09 +0530 Subject: [PATCH] Push --- .github/workflows/lint.yml | 33 +++++++++++++++++++++++++++++++++ build/extension.py | 2 +- package.json | 2 +- 3 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..ac00327 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,33 @@ +name: Lint Python + +on: + push: + branches: + - "*" + pull_request: + branches: + - master + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + - name: Set up Python 3.8 + uses: actions/setup-python@v2 + with: + python-version: 3.8 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pylint + pip install vscode + pip install webbrowser + pip install pyperclip + pip install bs4 + pip install requests + + - name: Run pylint + run: | + pylint extension.py diff --git a/build/extension.py b/build/extension.py index f6e5ab4..814e3a4 100644 --- a/build/extension.py +++ b/build/extension.py @@ -8,7 +8,7 @@ import requests -ext= vscode.Extension(name="StackOnCopy", display_name="StackO'n Copy", version="0.0.2") +ext= vscode.Extension(name="StackOnCopy", display_name="StackO'n Copy", version="0.0.1") @ext.event def on_activate(): diff --git a/package.json b/package.json index 47aeeaa..8cfd465 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "StackOnCopy", "displayName": "StackO'n Copy", - "version": "0.0.2", + "version": "0.0.1", "engines": { "vscode": "^1.58.0" },