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 6d76ad2 commit 4ce031a
Show file tree
Hide file tree
Showing 16 changed files with 13 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
run: python -m pip install --editable ".[test]"

- name: Run Linter
run: pylint plover_platform_specific_translation
run: pylint src

- name: Run Type Checker
run: mypy plover_platform_specific_translation
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 @@ -26,10 +26,10 @@ jobs:
run: python -m pip install --editable ".[test]"

- name: Run Linter
run: pylint plover_platform_specific_translation
run: pylint src

- name: Run Type Checker
run: mypy plover_platform_specific_translation
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
Expand Up @@ -4,3 +4,4 @@
# silence the deprecation warnings regarding
# `asyncio_default_fixture_loop_scope`
asyncio_default_fixture_loop_scope = function
pythonpath = src
14 changes: 6 additions & 8 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,17 @@ long_description = file: README.md
long_description_content_type = text/markdown
name = plover_platform_specific_translation
url = https://github.com/paulfioravanti/plover-platform-specific-translation
version = 0.2.8
version = 0.2.9

[options]
install_requires =
plover >= 4.0.0.dev12
setup_requires =
setuptools >= 30.3.0
zip_safe = True
packages =
plover_platform_specific_translation
plover_platform_specific_translation.config
plover_platform_specific_translation.platform
plover_platform_specific_translation.translation
package_dir =
= src
packages = find:

[options.entry_points]
plover.extension =
Expand All @@ -44,8 +42,8 @@ test =
pytest
pytest-cov

[tool:pytest]
pythonpath = plover_platform_specific_translation
[options.packages.find]
where = src

[mypy]
strict = True
Expand Down
Empty file.
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_platform_specific_translation
pylint src

typecheck:
mypy plover_platform_specific_translation
mypy src

0 comments on commit 4ce031a

Please sign in to comment.