Skip to content

Commit

Permalink
update: updated the version
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishabh672003 committed Jul 31, 2024
1 parent 3dc4fe8 commit 77a3b3e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "pyfix-imports"
version = "0.6.2"
version = "0.7.0"
description = "python tool that will fix your missing imports"
authors = [{ name = "Rishabh", email = "[email protected]" }]
dependencies = [
Expand Down
3 changes: 2 additions & 1 deletion tests/import_string_test.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
from pyfix_imports.package import import_string
from pyfix_imports.predefined import predefined_imports
from pyfix_imports.pyflake import pyflake

from tests.test import test_code


def imp_string(src):
mod_list = pyflake(src)
imports = set(import_string(mod_list))
imports = set(import_string(mod_list, predefined_imports))

return imports

Expand Down

0 comments on commit 77a3b3e

Please sign in to comment.