Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[STY] use isort #84

Merged
merged 1 commit into from
Feb 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ repos:
hooks:
- id: flynt

- repo: https://github.com/asottile/reorder-python-imports
rev: v3.12.0
- repo: https://github.com/pycqa/isort
rev: 5.13.2
hooks:
- id: reorder-python-imports
args: [--py38-plus, --add-import, from __future__ import annotations]
- id: isort
args: [--profile, black]

# - repo: https://github.com/pre-commit/mirrors-mypy
# rev: v1.3.0
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"editor.defaultFormatter": "ms-python.black-formatter"
},
"python.formatting.provider": "none",
"editor.formatOnPaste": true
"editor.formatOnPaste": true,
"esbonio.sphinx.confDir": ""
}
6 changes: 2 additions & 4 deletions file_tree_check/smartPath.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
from __future__ import annotations

import re
from abc import ABC
from abc import abstractmethod
from abc import ABC, abstractmethod
from pathlib import Path

from file_tree import FileTree
from file_tree import Template
from file_tree import FileTree, Template
from file_tree.template import Literal


Expand Down
Loading