hc99's picture
Add files using upload-large-folder tool
e4b9a7b verified
[metadata]
name = monai
author = MONAI Consortium
author_email = monai.miccai2019@gmail.com
url = https://monai.io/
description = AI Toolkit for Healthcare Imaging
long_description = file:README.md
long_description_content_type = text/markdown; charset=UTF-8
platforms = OS Independent
license = Apache License 2.0
[options]
python_requires = >= 3.6
setup_requires =
torch>=1.4
ninja
install_requires =
torch>=1.4
numpy>=1.17
[options.extras_require]
all =
nibabel
scikit-image>=0.14.2
pillow
tensorboard
pytorch-ignite==0.3.0
gdown>=3.6.4
torchvision
itk
nibabel =
nibabel
skimage =
scikit-image>=0.14.2
pillow =
pillow
tensorboard =
tensorboard
gdown =
gdown>=3.6.4
ignite =
pytorch-ignite==0.3.0
torchvision =
torchvision
itk =
itk
[flake8]
select = B,C,E,F,N,P,T4,W,B9
max-line-length = 120
# C408 ignored because we like the dict keyword argument syntax
# E501 is not flexible enough, we're using B950 instead
ignore =
E203,E305,E402,E501,E721,E741,F403,F405,F821,F841,F999,W503,W504,C408,E302,W291,E303,
# this ignore is from flake8-bugbear; please fix!
B008, # see issue #727
# N812 lowercase 'torch.nn.functional' imported as non lowercase 'F'
N812
per-file-ignores = __init__.py: F401
exclude = *.pyi,.git,.eggs,monai/_version.py,versioneer.py,venv,_version.py
[isort]
known_first_party = monai
profile = black
line_length = 120
skip = .git, .eggs, venv, versioneer.py, _version.py, conf.py
skip_glob = *.pyi
[versioneer]
VCS = git
style = pep440
versionfile_source = monai/_version.py
versionfile_build = monai/_version.py
tag_prefix =
parentdir_prefix =
[mypy]
# Suppresses error messages about imports that cannot be resolved.
ignore_missing_imports = True
# Changes the treatment of arguments with a default value of None by not implicitly making their type Optional.
no_implicit_optional = True
# Warns about casting an expression to its inferred type.
warn_redundant_casts = True
# No error on unneeded # type: ignore comments.
warn_unused_ignores = False
# Shows a warning when returning a value with type Any from a function declared with a non-Any return type.
warn_return_any = True
# Prohibit equality checks, identity checks, and container checks between non-overlapping types.
strict_equality = True
# Shows column numbers in error messages.
show_column_numbers = True
# Shows error codes in error messages.
show_error_codes = True
# Use visually nicer output in error messages: use soft word wrap, show source code snippets, and show error location markers.
pretty = False
[mypy-versioneer]
# Ignores all non-fatal errors.
ignore_errors = True
[mypy-monai._version]
# Ignores all non-fatal errors.
ignore_errors = True
[mypy-monai.eggs]
# Ignores all non-fatal errors.
ignore_errors = True
[pytype]
# Space-separated list of files or directories to exclude.
exclude = versioneer.py _version.py
# Space-separated list of files or directories to process.
inputs = monai
# Keep going past errors to analyze as many files as possible.
keep_going = True
# Run N jobs in parallel.
jobs = 8
# All pytype output goes here.
output = .pytype
# Paths to source code directories, separated by ':'.
pythonpath = .
# Check attribute values against their annotations.
check_attribute_types = True
# Check container mutations against their annotations.
check_container_types = True
# Check parameter defaults and assignments against their annotations.
check_parameter_types = True
# Check variable values against their annotations.
check_variable_types = True
# Comma or space separated list of error names to ignore.
disable = pyi-error
# Report errors.
report_errors = True
# Experimental: Infer precise return types even for invalid function calls.
precise_return = True
# Experimental: solve unknown types to label with structural types.
protocols = True
# Experimental: Only load submodules that are explicitly imported.
strict_import = False