setup.cfg 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. [metadata]
  2. long_description = file: README.rst
  3. long_description_content_type = text/x-rst
  4. description = Seamless operability between C++11 and Python
  5. author = Wenzel Jakob
  6. author_email = wenzel.jakob@epfl.ch
  7. url = https://github.com/pybind/pybind11
  8. license = BSD
  9. classifiers =
  10. Development Status :: 5 - Production/Stable
  11. Intended Audience :: Developers
  12. Topic :: Software Development :: Libraries :: Python Modules
  13. Topic :: Utilities
  14. Programming Language :: C++
  15. Programming Language :: Python :: 2.7
  16. Programming Language :: Python :: 3
  17. Programming Language :: Python :: 3.5
  18. Programming Language :: Python :: 3.6
  19. Programming Language :: Python :: 3.7
  20. Programming Language :: Python :: 3.8
  21. Programming Language :: Python :: 3.9
  22. License :: OSI Approved :: BSD License
  23. Programming Language :: Python :: Implementation :: PyPy
  24. Programming Language :: Python :: Implementation :: CPython
  25. Programming Language :: C++
  26. Topic :: Software Development :: Libraries :: Python Modules
  27. keywords =
  28. C++11
  29. Python bindings
  30. [options]
  31. python_requires = >=2.7, !=3.0, !=3.1, !=3.2, !=3.3, !=3.4
  32. zip_safe = False
  33. [bdist_wheel]
  34. universal=1
  35. [check-manifest]
  36. ignore =
  37. tests/**
  38. docs/**
  39. tools/**
  40. include/**
  41. .*
  42. pybind11/include/**
  43. pybind11/share/**
  44. CMakeLists.txt
  45. [flake8]
  46. max-line-length = 99
  47. show_source = True
  48. exclude = .git, __pycache__, build, dist, docs, tools, venv
  49. ignore =
  50. # required for pretty matrix formatting: multiple spaces after `,` and `[`
  51. E201, E241, W504,
  52. # camelcase 'cPickle' imported as lowercase 'pickle'
  53. N813
  54. # Black conflict
  55. W503, E203
  56. [mypy]
  57. files = pybind11
  58. python_version = 2.7
  59. warn_unused_configs = True
  60. # Currently (0.800) identical to --strict
  61. disallow_any_generics = True
  62. disallow_subclassing_any = True
  63. disallow_untyped_calls = True
  64. disallow_untyped_defs = True
  65. disallow_incomplete_defs = True
  66. check_untyped_defs = True
  67. disallow_untyped_decorators = True
  68. no_implicit_optional = True
  69. warn_redundant_casts = True
  70. warn_unused_ignores = True
  71. warn_return_any = True
  72. no_implicit_reexport = True
  73. strict_equality = True
  74. [tool:pytest]
  75. timeout = 300