From 44de3f55def22b01df19e57e0d49435061dc460d Mon Sep 17 00:00:00 2001 From: fjy202 <40914915+fjy202@users.noreply.github.com> Date: Wed, 8 Jan 2020 21:36:19 +0800 Subject: [PATCH 1/4] Pylint --- ci/pylint.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 ci/pylint.yml diff --git a/ci/pylint.yml b/ci/pylint.yml new file mode 100644 index 0000000..657b06c --- /dev/null +++ b/ci/pylint.yml @@ -0,0 +1,22 @@ +name: Pylint + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up Python 3.8 + uses: actions/setup-python@v1 + with: + python-version: 3.8 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pylint + - name: Test with pytest + run: | + pylint `ls -R|grep .py$|xargs` From 36ead1ae0dcc488543acf7dc676911c513769f88 Mon Sep 17 00:00:00 2001 From: fjy202 <40914915+fjy202@users.noreply.github.com> Date: Wed, 8 Jan 2020 21:38:25 +0800 Subject: [PATCH 2/4] Delete pylint.yml --- ci/pylint.yml | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 ci/pylint.yml diff --git a/ci/pylint.yml b/ci/pylint.yml deleted file mode 100644 index 657b06c..0000000 --- a/ci/pylint.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Pylint - -on: [push] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - name: Set up Python 3.8 - uses: actions/setup-python@v1 - with: - python-version: 3.8 - - name: Install dependencies - run: | - python -m pip install --upgrade pip - pip install pylint - - name: Test with pytest - run: | - pylint `ls -R|grep .py$|xargs` From 4d60a5fb725b26cda910cefdd8d3965d0f171a67 Mon Sep 17 00:00:00 2001 From: fjy202 <40914915+fjy202@users.noreply.github.com> Date: Wed, 8 Jan 2020 21:39:31 +0800 Subject: [PATCH 3/4] Create pylint.yml --- ci/pylint.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 ci/pylint.yml diff --git a/ci/pylint.yml b/ci/pylint.yml new file mode 100644 index 0000000..657b06c --- /dev/null +++ b/ci/pylint.yml @@ -0,0 +1,22 @@ +name: Pylint + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Set up Python 3.8 + uses: actions/setup-python@v1 + with: + python-version: 3.8 + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pylint + - name: Test with pytest + run: | + pylint `ls -R|grep .py$|xargs` From f30fb6cf24d29be842d2359dfd89a00c1e336557 Mon Sep 17 00:00:00 2001 From: fjy202 <40914915+fjy202@users.noreply.github.com> Date: Wed, 8 Jan 2020 21:41:28 +0800 Subject: [PATCH 4/4] pylint --- ci/properties/pylint.properties.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 ci/properties/pylint.properties.json diff --git a/ci/properties/pylint.properties.json b/ci/properties/pylint.properties.json new file mode 100644 index 0000000..c7d1363 --- /dev/null +++ b/ci/properties/pylint.properties.json @@ -0,0 +1,6 @@ +{ + "name": "Pylint", + "description": "Lint a Python application with pylint.", + "iconName": "python", + "categories": ["Python"] +}