Skip to content
This repository was archived by the owner on Sep 14, 2023. It is now read-only.

Commit 14d36e3

Browse files
authored
Enable isort (#97)
Enable isort and bump the other linters.
1 parent a6a9ece commit 14d36e3

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.pre-commit-config.yaml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
---
22
repos:
33
- repo: https://github.com/PyCQA/doc8.git
4-
rev: 0.9.0a1
4+
rev: 0.9.0
55
hooks:
66
- id: doc8
7+
- repo: https://github.com/PyCQA/isort
8+
rev: 5.9.3
9+
hooks:
10+
- id: isort
11+
args:
12+
# https://github.com/pre-commit/mirrors-isort/issues/9#issuecomment-624404082
13+
- --filter-files
714
- repo: https://github.com/python/black
8-
rev: 21.6b0
15+
rev: 21.7b0
916
hooks:
1017
- id: black
1118
language_version: python3
@@ -59,7 +66,7 @@ repos:
5966
- types-PyYAML
6067
- types-setuptools
6168
- repo: https://github.com/pre-commit/mirrors-pylint
62-
rev: v3.0.0a3
69+
rev: v3.0.0a4
6370
hooks:
6471
- id: pylint
6572
additional_dependencies: []

src/pytest_molecule/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import pkg_resources
1616
import pytest
1717
import yaml
18+
1819
from molecule.api import drivers
1920
from molecule.config import ansible_version
2021

0 commit comments

Comments
 (0)