Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion build/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "StackOnCopy",
"displayName": "StackO'n Copy",
"version": "0.0.2",
"version": "0.0.1",
"engines": {
"vscode": "^1.58.0"
},
Expand Down