Skip to content

Commit

Permalink
Set up linting in GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
lubo committed Apr 28, 2024
1 parent 92f7857 commit d774e84
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
ignore:
- dependency-name: '*'
update-types:
- version-update:semver-minor
- version-update:semver-patch
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
groups:
all:
patterns:
- '*'
ignore:
- dependency-name: '*'
update-types:
- version-update:semver-major
# Makes it possible to have another config. for the same dir.
# https://github.com/dependabot/dependabot-core/issues/1778#issuecomment-1988140219
target-branch: master
- package-ecosystem: pip
directory: /bookmarkmgr
schedule:
Expand Down
Empty file added .github/linters/.ruff.toml
Empty file.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: CI
on: push
permissions: { }
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
permissions:
contents: read
statuses: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: super-linter/super-linter/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_PYTHON_BLACK: false
VALIDATE_PYTHON_FLAKE8: false
VALIDATE_PYTHON_ISORT: false
# TODO: Enable mypy when per-directory configuration is supported.
# https://github.com/python/mypy/issues/16070
VALIDATE_PYTHON_MYPY: false
VALIDATE_PYTHON_PYLINT: false

0 comments on commit d774e84

Please sign in to comment.