[metadata] name = scoutbot description = The computer vision for Wild Me's Scout project version = attr: scoutbot.VERSION long_description = file: README.rst long_description_content_type = text/x-rst url = https://github.com/WildMeOrg author = Wild Me author_email = dev@wildme.org, license = MIT license_file = LICENSE project_urls = Documentation = https://scoutbot.readthedocs.io Source = https://github.com/WildMeOrg [options] packages = find: platforms = any include_package_data = True install_requires = click codecov coverage cryptography gradio imgaug numpy onnxruntime opencv-python-headless Pillow pooch rich torch torchvision tqdm wbia-utool python_requires = >=3.7 [options.entry_points] console_scripts = scoutbot = scoutbot.scoutbot:cli [bdist_wheel] universal = 1 [aliases] test=pytest [tool:pytest] minversion = 5.4 addopts = -v -p no:doctest --xdoctest --xdoctest-style=google --random-order --random-order-bucket=global --cov=./ --cov-report html -m "not separate" --durations-min=1.0 --color=yes --code-highlight=yes --show-capture=log -ra testpaths = scoutbot tests filterwarnings = default [options.extras_require] test = pytest >= 6.2.2 pycodestyle pytest-cov all = %(test)s [flake8] # This section configures `flake8`, the python linting utility. # See also https://flake8.pycqa.org/en/latest/user/configuration.html ignore = D100,D101,D102,D103,D105,D200,D205,D210,D400,D401,D403,E127,E201,E202,E203,E221,E222,E241,E265,E271,E272,E301,E501,N802,N803,N805,N806,W503 # D100 - Missing docstring in public module # D101 - Missing docstring in public class # D102 - Missing docstring in public method # D103 - Missing docstring in public function # D105 - Missing docstring in public package # D200 - One-line docstring should fit on one line with quotes # D205 - 1 blank line required between summary line and description # D210 - No whitespaces allowed surrounding docstring text # D400 - First line should end with a period # D401 - First line should be in imperative mood # D403 - First word of the first line should be properly capitalized # D* codes come from pydocstyle which is integrated into flake8 via flake8-docstring. # See also http://www.pydocstyle.org/en/5.0.1/error_codes.html # E127 - continuation line over-indented for visual indent # E201 - whitespace after ‘(‘ # E202 - whitespace before ‘)’ # E203 - whitespace before ‘:’ # E221 - multiple spaces before operator # E222 - multiple spaces after operator # E241 - multiple spaces after ‘,’ # E265 - block comment should start with ‘# ‘ # E271 - multiple spaces after keyword # E272 - multiple spaces before keyword # E301 - expected 1 blank line, found 0 # E501 - line too long (82 > 79 characters) # E* codes come from pycodestyle which is integrated with flake8 # See also https://pycodestyle.pycqa.org/en/latest/intro.html#error-codes # N802 - function name should be lowercase # N803 - argument name should be lowercase # N805 - first argument of a method should be named 'self' # N806 - variable in function should be lowercase # N* codes come from pep8-naming, which integrates with flake8 # See also https://github.com/PyCQA/pep8-naming#error-codes exclude = .git [tool:brunette] line-length = 90 verbose = false skip-string-normalization = true single-quotes = true [tool:isort] profile = black line_length = 90 multi_line_output = 3 include_trailing_comma = true force_grid_wrap = 0 use_parentheses = true ensure_newline_before_comments = true