Skip to content

Commit

Permalink
remove src from directory
Browse files Browse the repository at this point in the history
  • Loading branch information
SamWitty committed Oct 24, 2023
1 parent 0537a22 commit 8fb5788
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
exclude_patterns = []

extensions += ['sphinx.ext.autodoc', 'autoapi.extension']
autoapi_dirs = ['../../src']
autoapi_dirs = ['../../pyciemss']


# -- Options for HTML output -------------------------------------------------
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion scripts/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
set -euxo pipefail

./scripts/lint.sh
pytest -s --cov=src/pyciemss/ --cov=test --cov-report=term-missing ${@-} --cov-report html
pytest -s --cov=pyciemss/ --cov=test --cov-report=term-missing ${@-} --cov-report html
9 changes: 4 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ python_requires = >=3.9
packages = find:

package_dir =
= src
= pyciemss

[options.package_data]
* = *.json
Expand All @@ -44,7 +44,7 @@ package_dir =
[options.packages.find]

where =
src
pyciemss


[options.extras_require]
Expand All @@ -58,18 +58,17 @@ tests =

[flake8]
max-line-length = 120
exclude = causal_pyro, docs, build, dist, .ipynb_checkpoints, .env
exclude = docs, build, dist, .ipynb_checkpoints, .env
extend-ignore = E203

[isort]
profile = black
skip_glob = .ipynb_checkpoints, .env, causal_pyro
skip_glob = .ipynb_checkpoints, .env
known_first_party = pyciemss, test
known_third_party = torch, pyro

[mypy]
ignore_missing_imports = True
exclude = causal_pyro

[mypy-test.models.*]
ignore_errors = True
2 changes: 1 addition & 1 deletion test/test_modules_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def try_import(import_name):

return r.__name__ == import_name

root = Path(__file__).parent.parent / "src" / "pyciemss"
root = Path(__file__).parent.parent / "pyciemss"

candidates = root.glob("**/*.py")
targets = [
Expand Down

0 comments on commit 8fb5788

Please sign in to comment.