Move sources to `src` dir (#384)
This commit is contained in:
parent
9c9bd27724
commit
3f6368693f
|
@ -31,7 +31,7 @@ repos:
|
|||
rev: v2.3.0
|
||||
hooks:
|
||||
- id: reorder-python-imports
|
||||
args: ['--application-directories=.:pytest_html:testing', --py3-plus]
|
||||
args: ['--application-directories=.:src:testing', --py3-plus]
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v2.4.4
|
||||
hooks:
|
||||
|
@ -43,7 +43,7 @@ repos:
|
|||
- id: eslint
|
||||
additional_dependencies:
|
||||
- eslint@7.13.0
|
||||
args: [pytest_html]
|
||||
args: [src]
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: rst
|
||||
|
|
1
setup.py
1
setup.py
|
@ -8,6 +8,7 @@ setup(
|
|||
author="Dave Hunt",
|
||||
author_email="dhunt@mozilla.com",
|
||||
url="https://github.com/pytest-dev/pytest-html",
|
||||
package_dir={"": "src"},
|
||||
packages=["pytest_html"],
|
||||
package_data={"pytest_html": ["resources/*"]},
|
||||
entry_points={"pytest11": ["html = pytest_html.plugin"]},
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<script src="https://code.jquery.com/qunit/qunit-2.0.1.js"></script>
|
||||
<script src="https://raw.githubusercontent.com/alex-seville/blanket/master/dist/qunit/blanket.min.js"></script>
|
||||
<script src="test.js"></script>
|
||||
<script src="../pytest_html/resources/main.js" data-cover></script>
|
||||
<script src="../src/pytest_html/resources/main.js" data-cover></script>
|
||||
<div id="qunit-fixture">
|
||||
<table id="results-table">
|
||||
<thead id="results-table-head">
|
||||
|
|
Loading…
Reference in New Issue