Skip to content

Commit

Permalink
updated pylint.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
97gamjak committed May 6, 2024
1 parent 7779fc9 commit 3585a95
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/pylint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ jobs:
git commit -m "Add .github/.pylint_cache on push event"
- name: Push changes
if: github.event_name == 'push'
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 4 additions & 0 deletions PQAnalysis/type_checking.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
A module for type checking of arguments passed to functions at runtime.
"""

import logging

from decorator import decorator
Expand Down
4 changes: 4 additions & 0 deletions tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Unit tests for the PQAnalysis package.
"""

import os

os.environ['PQANALYSIS_BEARTYPE_LEVEL'] = "RELEASE"
6 changes: 5 additions & 1 deletion tests/analysis/rdf/test_api.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import pytest
"""
A module to test the RDF API.
"""

import pytest # pylint: disable=unused-import

from PQAnalysis.analysis.rdf.api import rdf
from PQAnalysis.type_checking import _get_type_error_message
Expand Down

0 comments on commit 3585a95

Please sign in to comment.