Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move from flat layout to src layout #71

Merged
merged 1 commit into from
Nov 12, 2023
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
3 changes: 3 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
import os
import sys
sys.path.insert(0, os.path.abspath('..'))
# NOTE: Uncomment if project is not installed (e.g., documentation is not
# generated with the help of tox.)
# sys.path.insert(0, os.path.abspath('../src'))
sys.path.append(os.path.abspath("./_ext"))


Expand Down
5 changes: 5 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ classifiers =
Topic :: Software Development :: Testing

[options]
package_dir =
= src
packages = find:
include_package_data = True
python_requires = >=3.7
Expand Down Expand Up @@ -50,6 +52,9 @@ install_requires =
urwid
xson

[options.packages.find]
where = src

[options.entry_points]
console_scripts =
fuzzinator = fuzzinator.executor:execute
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ isolated_build = true

[testenv]
deps = pytest
commands = py.test --ignore=fuzzinator {posargs}
commands = py.test --ignore=src/fuzzinator {posargs}
download = true

[testenv:cov]
deps = pytest-cov
commands = py.test --ignore=fuzzinator --cov=fuzzinator {posargs}
commands = py.test --ignore=src/fuzzinator --cov=fuzzinator {posargs}
usedevelop = true

[testenv:lint]
deps =
pycodestyle
pylint<3 # FIXME: experiencing fatal error (astroid-error) with pylint 3.0.0-3.0.2
commands =
pylint fuzzinator
pycodestyle fuzzinator --ignore=E501,E241
pylint src/fuzzinator
pycodestyle src/fuzzinator --ignore=E501,E241

[testenv:eslint]
deps =
Expand All @@ -28,7 +28,7 @@ allowlist_externals =
npx
commands =
npm install --no-save eslint@6.8.0 eslint-plugin-jquery@1.5.1
npx eslint fuzzinator/ui/wui/resources/static/scripts/
npx eslint src/fuzzinator/ui/wui/resources/static/scripts/

[testenv:docs]
deps = -rdocs/requirements.txt
Expand Down