Commit Graph

6 Commits

Author SHA1 Message Date
Shreya 0c323929a2 Configure Vulture to ignore directory: tests/unit_tests/ 2021-05-28 19:31:32 +05:30
Mike Salvatore 2f6803dc3d Add vulture pre-commit hook 2021-05-05 19:09:07 +05:30
Mike Salvatore 3f66e95a90 Use addopts instead of testpaths to specify path in pytest config
The pytest documentation states that the testpaths configuration option
"Sets list of directories that should be searched ... when executing
pytest from the rootdir directory." Since pytest is not executed from
the rootdir directory, testpaths has no effect. Appending the "tests/"
directory to the end of addopts reduces the time required to run the
test suite by approximately 6 seconds.
2021-04-19 14:39:39 -04:00
Shreya c37ae1e0ea Modify pytest configuration
Shift it from monkey/pytest.ini to pyproject.toml.
Add conftest.py in tests/ to add monkey directory to sys.path so test files recognize paths.
2021-04-19 17:36:09 +05:30
Shreya d5b74d70b2 Modify isort configuration 2021-04-06 17:50:51 -04:00
Shreya 7343b50135 Add configuration for black 2021-04-06 09:15:35 -04:00