Skip to content
setup.cfg 2.39 KiB
Newer Older
[metadata]
name = wpa-supplicant-client
version = attr: wpa_supplicant.__version__
author = Dom Sekotill
author_email = dom.sekotill@kodo.org.uk
description = A client package for connecting to, configuring and controlling wpa_supplicant daemons
long_description = file: README.md
long_description_content_type = text/markdown
url = 'https://code.kodo.org.uk/dom/wpa-supplicant-client.git'
license = Apache-2.0
license_files =
  LICENCE.txt

classifiers =
  Development Status :: 2 - Pre-Alpha
  Intended Audience :: Developers
  License :: OSI Approved
  License :: OSI Approved :: Apache Software License
  Natural Language :: English
  Operating System :: POSIX
  Programming Language :: Python
  Programming Language :: Python :: 3.6
  Programming Language :: Python :: 3.7
  Programming Language :: Python :: 3.8

[options]
python_requires = >= 3.6
packages = find:
setup_requires =
  setuptools >= 40.6
  setuptools-lint >= 0.6
install_requires =
  anyio >=1.0
tests_require =
  coverage <5
  nose2[coverage_plugin]
test_suite = nose2.collector.collector
lint_rcfile = setup.cfg

[options.packages.find]
exclude =
  util

[unittest]
start-dir = tests
verbose = True
plugins =
  nose2.plugins.junitxml
  nose2.plugins.testid

[coverage]
always-on = True
coverage = wpa_supplicant
coverage-report = term

[coverage:run]
branch = True

[coverage:report]
fail_under = 80
precision = 2
omit = **/__main__.py
exclude_lines =
  pragma: no cover
  if __name__ == .__main__.:
  def __repr__
  __version__ =

[coverage:xml]
output = .coverage.xml

[coverage:html]
directory = .coverage.html.d

[junit-xml]
always-on = True
path = .unittest.xml

[testid]
always-on = True

[log-capture]
always-on = True

[pylint]
reports = no
output-format = colorized
indent-string = '\t'
max-attributes = 10

disable =
  bad-continuation,
  ; Would be nice to not disable but it is bugged; it trys to interpret tabs as 
  ; spaces.

  trailing-whitespace,
  ; Would be nice to have enabled for *code* but not for comments or 
  ; multi-line strings.

  bad-mcs-classmethod-argument,
  ; PyLint 2 seems to have fallen in line with an overstrict interpretation of 
  ; PEP-8 and no longer thinks classmethods on metaclasses should use 'mcs' as 
  ; the first argument. I disagree with this, especially in the __new__ method 
  ; as instances of 'mcs' are classes, so should be named 'cls'.
  ; https://github.com/PyCQA/pylint/issues/2028


; vim: sw=2 sts=2 expandtab