Skip to content

Commit

Permalink
🎨 chore: use PEP 563
Browse files Browse the repository at this point in the history
  • Loading branch information
SigureMo committed Nov 16, 2023
1 parent 863f455 commit 21f2a9a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -320,3 +320,4 @@ tags
*.pyc
.tox
*.orig
.vscode/*
10 changes: 0 additions & 10 deletions dev-requirements

This file was deleted.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ ignore = [
]

[tool.ruff.lint.isort]
required-imports = ["from __future__ import annotations"]
known-first-party = ["cmakelint"]
2 changes: 2 additions & 0 deletions src/cmakelint/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
License for the specific language governing permissions and limitations under
the License.
"""
from __future__ import annotations

import getopt
import os
import re
Expand Down
2 changes: 2 additions & 0 deletions src/cmakelint/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
from __future__ import annotations

VERSION = "1.4.2"

0 comments on commit 21f2a9a

Please sign in to comment.