Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/openceJav/pycrypt
Browse files Browse the repository at this point in the history
{pylint && dependabot}.yml files through merge.
  • Loading branch information
Hi-kue committed Jun 7, 2024
2 parents 7da8b57 + a98dcfc commit a03a802
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "pip" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
time: "13:00"
commit-message:
prefix: "fix"
indclude: "scope"
23 changes: 23 additions & 0 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Pylint

on: [push]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Installing dependencies
run: |
python -m pip install --upgrade pip
pip install pylint
- name: Code analysis with Pylint
run: |
pylint $(git ls-files '*.py')

0 comments on commit a03a802

Please sign in to comment.