1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
|
[build-system]
requires = [
"setuptools >= 45",
"setuptools_scm[toml] >= 6.2",
"wheel",
]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
write_to = "liquidctl/_version.py"
# keep the following parameters in sync with liquidctl/version.py
version_scheme = "release-branch-semver"
[tool.pytest.ini_options]
addopts = "--doctest-modules -ra"
[tool.black]
line-length = 100
target-version = ["py38"]
extend-exclude = '''
/*
To have all items start with |, this isn't a real comment; still, it
shouldn't match any real path.
*/
# don't override what's automatically generated by setuptools_scm
| (^/liquidctl/_version\.py$)
# exclude some old files, pending a future conversion; by default, any new
# files should *not* be excluded
| (^/extra/contrib/fusion_rgb_cycle\.py$)
| (^/extra/windows/LQiNFO\.py$)
| (^/liquidctl/cli\.py$)
| (^/liquidctl/driver/__init__\.py$)
| (^/liquidctl/driver/asetek\.py$)
| (^/liquidctl/driver/asetek_pro\.py$)
| (^/liquidctl/driver/commander_core\.py$)
| (^/liquidctl/driver/commander_pro\.py$)
| (^/liquidctl/driver/corsair_hid_psu\.py$)
| (^/liquidctl/driver/ddr4\.py$)
| (^/liquidctl/driver/hydro_platinum\.py$)
| (^/liquidctl/driver/kraken2\.py$)
| (^/liquidctl/driver/nvidia\.py$)
| (^/liquidctl/driver/nzxt_epsu\.py$)
| (^/liquidctl/driver/rgb_fusion2\.py$)
| (^/liquidctl/driver/smart_device\.py$)
| (^/liquidctl/driver/smbus\.py$)
| (^/liquidctl/driver/usb\.py$)
| (^/liquidctl/error\.py$)
| (^/liquidctl/extraversion\.py$)
| (^/liquidctl/keyval\.py$)
| (^/liquidctl/pmbus\.py$)
| (^/liquidctl/util\.py$)
| (^/tests/_testutils\.py$)
| (^/tests/test_api\.py$)
| (^/tests/test_asetek\.py$)
| (^/tests/test_asetek_pro\.py$)
| (^/tests/test_backward_compatibility_10\.py$)
| (^/tests/test_backward_compatibility_11\.py$)
| (^/tests/test_backward_compatibility_12\.py$)
| (^/tests/test_backward_compatibility_13\.py$)
| (^/tests/test_backward_compatibility_14\.py$)
| (^/tests/test_backward_compatibility_15\.py$)
| (^/tests/test_cli\.py$)
| (^/tests/test_commander_core\.py$)
| (^/tests/test_commander_pro\.py$)
| (^/tests/test_corsair_hid_psu\.py$)
| (^/tests/test_ddr4\.py$)
| (^/tests/test_hidapi_device\.py$)
| (^/tests/test_hydro_platinum\.py$)
| (^/tests/test_keyval\.py$)
| (^/tests/test_kraken2\.py$)
| (^/tests/test_nvidia\.py$)
| (^/tests/test_nzxt_epsu\.py$)
| (^/tests/test_rgb_fusion2\.py$)
| (^/tests/test_smart_device\.py$)
| (^/tests/test_smbus\.py$)
| (^/tests/test_usb\.py$)
'''
|