Generate a Python package project using the Python Cookiecutter package
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

60 lines
1.4KB

  1. [aliases]
  2. test = pytest
  3. [bdist_wheel]
  4. # Only use the --universal setting, if:
  5. # 1. Your project runs on Python 2 and 3 with no changes (i.e. it does not require 2to3).
  6. # 2. Your project does not have any C extensions.
  7. universal = 1
  8. [wheel]
  9. universal = 1
  10. #[entry_points]
  11. # Add here console scripts like:
  12. # console_scripts =
  13. # script_name = tsfresh.module:function
  14. # For example:
  15. # console_scripts =
  16. # fibonacci = tsfresh.skeleton:run
  17. # as well as other entry_points.
  18. [bumpversion]
  19. current_version = {{ cookiecutter.version }}
  20. commit = True
  21. tag = True
  22. [bumpversion:file:setup.py]
  23. [bumpversion:file:{{ cookiecutter.project_slug }}/__init__.py]
  24. [coverage:run]
  25. source = {{ cookiecutter.project_slug }}
  26. [coverage:html]
  27. directory = docs/source/coverage
  28. title = "{{ cookiecutter.project_name }} Coverage Report"
  29. [devpi:upload]
  30. # Options for the devpi: PyPI server and packaging tool
  31. formats = bdist_wheel,sdist.tgz
  32. with-docs = 1
  33. [tool:pytest]
  34. python_files = tests/*.py
  35. filterwarnings =
  36. ignore:.*You passed a bytestring.*This will not work on Python 3.*:DeprecationWarning
  37. [build_sphinx]
  38. all-files = True
  39. source-dir = docs/source
  40. build-dir = docs/build
  41. builder = html
  42. [flake8]
  43. max-line-length = 100
  44. ignore = F401, W503
  45. exclude = .git,.tox,.venv,tests/*,build/*,doc/_build/*,sphinx/search/*,doc/usage/extensions/example*.py
  46. application-import-names = {{ cookiecutter.project_slug }}
  47. import-order-style = smarkets