[metadata]
name = backpack-for-pytorch
author = Felix Dangel, Frederik Kunstner
url = https://github.com/f-dangel/backpack
description = BackPACK: Packing more into backprop
long_description = file: README.md
long_description_content_type = text/markdown; charset=UTF-8; variant=GFM
license = MIT
platforms = any
classifiers = 
	Development Status :: 4 - Beta
	License :: OSI Approved :: MIT License
	Operating System :: OS Independent
	Programming Language :: Python :: 3.7
	Programming Language :: Python :: 3.8
	Programming Language :: Python :: 3.9

[options]
zip_safe = False
packages = find:
include_package_data = True
setup_requires = 
	setuptools_scm
install_requires = 
	torch >= 1.9.0, < 2.0.0
	torchvision >= 0.7.0, < 1.0.0
	einops >= 0.3.0, < 1.0.0
python_requires = >=3.7

[options.packages.find]
exclude = test*

[options.extras_require]
test = 
	scipy
	pytest >= 4.5.0, < 5.0.0
	pytest-benchmark >= 3.2.2, < 4.0.0
	pytest-optional-tests >= 0.1.1
	pytest-cov
	coveralls
lint = 
	darglint
	flake8
	mccabe
	pycodestyle
	pydocstyle
	pyflakes
	pep8-naming
	flake8-bugbear
	flake8-comprehensions
	flake8-tidy-imports
	black
	isort
docs = 
	matplotlib
	sphinx-gallery
	memory_profiler
	tabulate

[isort]
profile = black
multi_line_output = 3
include_trailing_comma = True
force_grid_wrap = 0
use_parentheses = True

[flake8]
select = B,C,E,F,P,W,B9
max-line-length = 88
max-complexity = 10
ignore = 
	E501, # max-line-length
	C408, # use {} instead of dict()
	E203, # whitespace before :
	E231, # missing whitespace after ','
	W291, # trailing whitespace
	W503, # line break before binary operator
	W504, # line break after binary operator
exclude = docs, build, .git, docs_src/rtd, docs_src/rtd_output, .eggs

[darglint]
docstring_style = google
strictness = full

[pydocstyle]
convention = google
match = .*\.py

[egg_info]
tag_build = 
tag_date = 0

