Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.
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 @@ -134,7 +134,7 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
#html_static_path = ['_static']

# Add any extra paths that contain custom files (such as robots.txt or
# .htaccess) here, relative to this directory. These files are copied
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,8 @@ skip-string-normalization = true
profile = "black"
src_paths = ["src/pydocstyle"]
line_length = 79

[tool.mypy]
ignore_missing_imports = true
strict_optional = true
disallow_incomplete_defs = true
4 changes: 2 additions & 2 deletions src/tests/test_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def __exit__(self, *args, **kwargs):
pass


@pytest.yield_fixture(scope="module")
@pytest.fixture(scope="module")
def install_package(request):
"""Install the package in development mode for the tests.

Expand All @@ -138,7 +138,7 @@ def install_package(request):
)


@pytest.yield_fixture(scope="function", params=['ini', 'toml'])
@pytest.fixture(scope="function", params=['ini', 'toml'])
def env(request):
"""Add a testing environment to a test method."""
sandbox_settings = {
Expand Down
9 changes: 1 addition & 8 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ setenv =
# To pass arguments to pytest, use `tox [options] -- [pytest posargs]`.
commands =
pytest --cache-clear -vv src/tests {posargs}
mypy --config-file=tox.ini src/
mypy src/
black --check src/pydocstyle
isort --check src/pydocstyle
deps =
Expand Down Expand Up @@ -66,17 +66,10 @@ skip_install = {[testenv:install]skip_install}
commands = {[testenv:install]commands}

[pytest]
pep8ignore =
test.py E701 E704
norecursedirs = docs .tox
addopts = -rw

[pep257]
inherit = false
convention = pep257
add-select = D404

[mypy]
ignore_missing_imports = true
strict_optional = true
disallow_incomplete_defs = true