1 Star 0 Fork 3.4K

wmzheng2020 / mindquantum

forked from MindSpore / mindquantum 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
pyproject.toml 1.75 KB
一键复制 编辑 原始数据 按行查看 历史
donghufeng 提交于 2021-10-20 11:08 . HiQ 5.0
[build-system]
requires = ["setuptools>=42", "wheel", "pybind11>=2.6.0", "setuptools_scm[toml]>=3.4"]
build-backend = "setuptools.build_meta"
# ==============================================================================
[tool.black]
line-length = 120
target-version = ['py36','py37','py38']
skip-string-normalization = true
[tool.check-manifest]
ignore = [
'PKG-INFO',
'*.egg-info',
'*.egg-info/*',
'setup.cfg',
'.hgtags',
'.hgsigs',
'.hgignore',
'.gitignore',
'.bzrignore',
'.gitattributes',
'.github/*',
'.travis.yml',
'*.mo',
'.clang-tidy',
'.clang-format',
'.gitmodules',
'requirements.txt',
'requirements_tests.txt',
'VERSION.txt',
'.editorconfig',
'*.yml',
'*.yaml',
'docs/*',
'docs/images/*',
'tests/*',
]
[tool.coverage]
[tool.coverage.run]
omit = [
'*_test.py',
'*_fixtures.py'
]
[tool.pylint]
[tool.pylint.master]
ignore-patterns = [
'.*_test.py',
'.*_fixtures.py',
]
extension-pkg-whitelist = [
]
extension-pkg-allow-list = [
]
[tool.pylint.basic]
good-names = []
[tool.pylint.format]
max-line-length = 120
[tool.pylint.messages_control]
disable = [
'no-name-in-module', # due to dynamic importing of symbols
'fixme'
]
# [tool.pytest.ini_options]
# minversion = '6.0'
# addopts = '-pno:warnings'
# testpaths = ['mindquantum']
# norecursedirs = 'third_party'
# mock_use_standalone_module = true
[tool.isort]
profile = "black"
[tool.setuptools_scm]
write_to = 'VERSION.txt'
write_to_template = '{version}'
local_scheme = 'no-local-version'
fallback_version = '0.3.0'
[tool.yapf]
column_limit = 120
Python
1
https://gitee.com/wmzheng2020/mindquantum.git
git@gitee.com:wmzheng2020/mindquantum.git
wmzheng2020
mindquantum
mindquantum
master

搜索帮助