Skip to content

Commit

Permalink
Merge pull request #473 from pimutils/pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
[pre-commit.ci] pre-commit autoupdate
  • Loading branch information
Hugo Osvaldo Barrera committed Jan 4, 2022
2 parents 0293da2 + f0f7360 commit f8283fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
rev: v4.1.0
hooks:
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
Expand All @@ -25,12 +25,12 @@ repos:
- flake8-comprehensions
- flake8-bugbear
- repo: https://github.com/asottile/pyupgrade
rev: v2.29.1
rev: v2.31.0
hooks:
- id: pyupgrade
args: [--py37-plus]
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v0.910-1"
rev: "v0.930"
hooks:
- id: mypy
additional_dependencies:
Expand Down
3 changes: 1 addition & 2 deletions todoman/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1102,5 +1102,4 @@ def save(self, todo: Todo) -> None:


def _getmtime(path: str) -> int:
stat = os.stat(path)
return getattr(stat, "st_mtime_ns", stat.st_mtime)
return os.stat(path).st_mtime_ns

0 comments on commit f8283fc

Please sign in to comment.