mirror of
https://github.com/davegallant/rfd-notify.git
synced 2025-08-06 00:33:39 +00:00
Migrate to python (#265)
* Add initial python migration * Add pylint * Add pre-commit * Add Dockerfile * Add expression matching * Use shelve to store previous matches * Add notifications * Calculate post age * Update README.md
This commit is contained in:
22
.github/workflows/pylint.yml
vendored
Normal file
22
.github/workflows/pylint.yml
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
name: Pylint
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
env:
|
||||
PYTHON_VERSION: "3.11"
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: ${{ env.PYTHON_VERSION }}
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install poetry==1.3.2
|
||||
poetry install
|
||||
|
||||
- name: Lint
|
||||
run: poetry run pylint ./rfd_notify
|
Reference in New Issue
Block a user