Skip to content

Commit

Permalink
refactor: rename import.py to import_.py
Browse files Browse the repository at this point in the history
Since `import` is a Python keyword, the best practice is to name the
module as `import_` according to PEP-8 guidelines.¹

This should not affect the usage of the `augur import` command since
the command name remains unchanged. Since the module only has
`register_parser` and `run` functions, there is unlikely to be any
external uses of `augur.import`.

This change came from suggestion by @tsibley in review.²

¹ https://peps.python.org/pep-0008/#descriptive-naming-styles
² #1002 (comment)
  • Loading branch information
joverlee521 committed Jul 12, 2022
1 parent 86707ef commit 3192d9c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion augur/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"export",
"validate",
"version",
"import",
"import_",
"measurements",
]

Expand Down
File renamed without changes.

0 comments on commit 3192d9c

Please sign in to comment.