Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

# package data
about: t.Dict[str, str] = {}
with open(project_root / "gp_libs" / "__about__.py") as fp:
with open(project_root / "src" / "gp_libs.py") as fp:
exec(fp.read(), about)

extensions = [
Expand Down
2 changes: 1 addition & 1 deletion docs/developing.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ CI. See the configuration in `pyproject.toml` and `setup.cfg`:
[poetry] handles virtualenv creation, package requirements, versioning,
building, and publishing. Therefore there is no setup.py or requirements files.

Update `__version__` in `__about__.py` and `pyproject.toml`::
Update `__version__` in `src/gp_libs.py` and `pyproject.toml`::

git commit -m 'build(gp_libs): Tag v0.1.1'
git tag v0.1.1
Expand Down
12 changes: 0 additions & 12 deletions gp_libs/__init__.py

This file was deleted.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ classifiers = [
]
packages = [
{ include = "*", from = "src" },
{ include = "gp_libs" },
]
include = [
{ path = "tests", format = "sdist" },
Expand Down
7 changes: 3 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
[flake8]
exclude = .*/,.tox,*.egg,gp_libs/__*__.py,
exclude = .*/,.tox,*.egg
max-line-length = 88
extend-ignore = E203

[isort]
profile = black
combine_as_imports= true
combine_as_imports = true
default_section = THIRDPARTY
include_trailing_comma = true
multi_line_output = 3
known_pytest = pytest,py
known_first_party = gp_libs
known_first_party = gp_libs,doctest_docutils,linkify_issues,pytest_doctest_docutils,sphinx_doctree_autodoc_fix
sections = FUTURE,STDLIB,PYTEST,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
line_length = 88

[tool:pytest]
addopts = --tb=short --no-header --showlocals --doctest-modules
doctest_optionflags = ELLIPSIS NORMALIZE_WHITESPACE
testpaths =
gp_libs
tests
docs
File renamed without changes.