Skip to content

Commit

Permalink
Migrate to src layout
Browse files Browse the repository at this point in the history
  • Loading branch information
paulfioravanti committed Oct 3, 2024
1 parent e80ba27 commit 9e281e6
Show file tree
Hide file tree
Showing 19 changed files with 14 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
python -m pip install git+https://git@github.com/1Password/onepassword-sdk-python.git@v0.1.1
- name: Run Linter
run: pylint plover_1password
run: pylint src

- name: Run Type Checker
run: mypy plover_1password
run: mypy src

- name: Run Tests
run: pytest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
python -m pip install git+https://git@github.com/1Password/onepassword-sdk-python.git@v0.1.1
- name: Run Linter
run: pylint plover_1password
run: pylint src

- name: Run Type Checker
run: mypy plover_1password
run: mypy src

- name: Run Tests
run: pytest
Expand Down
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[pytest]
asyncio_default_fixture_loop_scope = function
asyncio_mode = auto
pythonpath = src
12 changes: 6 additions & 6 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,9 @@ install_requires =
plover >= 4.0.0.dev12
setup_requires =
setuptools >= 30.3.0
packages =
plover_1password
plover_1password.secret
plover_1password.secret_reference
plover_1password.service_account
plover_1password.shell_command
package_dir =
= src
packages = find:

[options.entry_points]
plover.extension =
Expand All @@ -44,6 +41,9 @@ test =
pytest-cov
pytest-mock

[options.packages.find]
where = src

[tool:pytest]
pythonpath = plover_1password

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Version attribute
"""

__version__ = "0.3.17"
__version__ = "0.3.18"
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.
4 changes: 2 additions & 2 deletions test/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ coverage:
open htmlcov/index.html

lint:
pylint plover_1password
pylint src

typecheck:
mypy plover_1password
mypy src

0 comments on commit 9e281e6

Please sign in to comment.