[build-system] requires = [ "setuptools >= 40.6.2", "torch >= 1.4.0", "wheel >= 0.30.0" ] build-backend = "setuptools.build_meta" [tool.black] line-length = 120 exclude = ''' /( \.git | \.mypy_cache | \.pytest_cache | build | docs | stubs )/ ''' [tool.isort] line_length = 120 multi_line_output = 3 include_trailing_comma = true force_grid_wrap = 0 use_parentheses = true skip_glob = ["build/*", "stubs/*"] # Don't split "import" and "from". force_sort_within_sections = true known_third_party = ["benchmark_dataset", "datasets", "golden_configs", "helpers", "models", "numpy", "pytest", "recommonmark", "setuptools", "torch", "torch_pg", "torchtext", "torchvision"]