Skip to content

Commit

Permalink
Merge pull request #375 from FoamyGuy/newer_pylint
Browse files Browse the repository at this point in the history
Use newer pylint
  • Loading branch information
tannewt authored Aug 19, 2024
2 parents d723e94 + 8bf7731 commit 12a1ce8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ repos:
hooks:
- id: black
- repo: https://github.com/pycqa/pylint
rev: v2.17.4
rev: v3.2.6
hooks:
- id: pylint
name: pylint
Expand Down
3 changes: 1 addition & 2 deletions adabot/lib/circuitpython_library_validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,8 +424,7 @@ def _filter_file_diffs(filenames):
commit_date = datetime.datetime.strptime(
commit_date_val, "%Y-%m-%dT%H:%M:%SZ"
)
if commit_date < oldest_commit_date:
oldest_commit_date = commit_date
oldest_commit_date = min(oldest_commit_date, commit_date)

date_diff = datetime.datetime.today() - oldest_commit_date
if date_diff.days > datetime.date.today().max.day:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

black==24.3.0
packaging==22.0
pylint==2.11.1
pylint==3.2.6
pytest
pyyaml>=5.4.1
redis==4.5.4
Expand Down
1 change: 1 addition & 0 deletions tools/ci_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ def run_gh_rest_rerun(
"""
if not rerun_level:
return False
result = None
if rerun_level == 1:
result = (
run_gh_rest_check(lib_repo, user, branch, workflow_filename) == "success"
Expand Down

0 comments on commit 12a1ce8

Please sign in to comment.