Skip to content

Commit

Permalink
Merge branch 'v1.1' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
atollk committed Aug 12, 2020
2 parents 5c0cecc + 7a30570 commit 74cef69
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions flake8_import_restrictions/checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
import ast
import fnmatch
from collections import defaultdict
from typing import Iterable, Tuple, Union, List, Dict
from importlib import metadata
from typing import Dict, Iterable, List, Tuple, Union

import flake8.options.manager

Expand Down Expand Up @@ -39,7 +40,7 @@ class ImportChecker:
"""

name = "flake8-import-restrictions"
version = "1.1.0"
version = metadata.version(name)
targetted_modules: Dict[int, Tuple[List[str], List[str]]] = defaultdict(
lambda: ([], [])
)
Expand Down
2 changes: 1 addition & 1 deletion flake8_import_restrictions/imports_submodule.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import importlib
import os.path
import sys
import types
import os.path
from typing import Optional


Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = flake8-import-restrictions
version = 1.1.0
version = 1.0.1
description = A flake8 plugin used to disallow certain forms of imports.
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down

0 comments on commit 74cef69

Please sign in to comment.