Skip to content

Commit

Permalink
Update to standard structure
Browse files Browse the repository at this point in the history
  • Loading branch information
staticdev committed Dec 27, 2021
1 parent fca3ef1 commit 0fd6de0
Show file tree
Hide file tree
Showing 19 changed files with 6 additions and 8 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
name: Tests

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
- push
- pull_request

jobs:
tests:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ python-editor = ">=1.0.4"
pexpect = ">=4.8.0"

[tool.coverage.paths]
source = ["inquirer", "*/site-packages"]
source = ["src", "*/site-packages"]
tests = ["tests", "*/tests"]

[tool.coverage.run]
Expand Down
6 changes: 3 additions & 3 deletions inquirer/__init__.py → src/inquirer/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from .prompt import prompt
from .questions import (
from inquirer.prompt import prompt
from inquirer.questions import (
Text,
Editor,
Password,
Expand All @@ -11,7 +11,7 @@
load_from_json,
load_from_list,
)
from .shortcuts import text, editor, password, confirm, list_input, checkbox
from inquirer.shortcuts import text, editor, password, confirm, list_input, checkbox

__all__ = [
"prompt",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0fd6de0

Please sign in to comment.