[tool.poetry] name = "python-creole" version = "1.5.0.rc3" description = "python-creole is an open-source (GPL) markup converter in pure Python for: creole2html, html2creole, html2ReSt, html2textile" # Will be generated from README.creole with: "poetry run update_rst_readme" readme="README.rst" license = "GPL-3.0-or-later" authors = ["Jens Diemer "] homepage = "https://github.com/jedie/python-creole/" keywords=["creole", "markup", "creole2html", "html2creole", "rest2html", "html2rest", "html2textile"] classifiers = [ # http://pypi.python.org/pypi?%3Aaction=list_classifiers "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)", "Programming Language :: Python", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: Implementation :: PyPy", "Operating System :: OS Independent", "Topic :: Documentation", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Text Processing :: Markup", "Topic :: Text Processing :: Markup :: HTML", "Topic :: Utilities", ] packages = [ { include = "creole" }, ] include = ['AUTHORS', 'LICENSE'] [tool.poetry.dependencies] python = ">=3.7,<4.0.0" docutils = "*" [tool.poetry.dev-dependencies] readme-renderer = "*" poetry-publish = "*" tox = "*" pygments = "*" textile = "*" pytest = "*" pytest-cov = "*" isort = "*" flake8 = "*" autopep8 = "*" darker = "*" markdown = "*" [tool.poetry.scripts] creole2html = "creole.cmdline:cli_creole2html" html2creole = "creole.cmdline:cli_html2creole" html2rest = "creole.cmdline:cli_html2rest" html2textile = "creole.cmdline:cli_html2textile" update_rst_readme = "creole.setup_utils:update_creole_rst_readme" update_markdown_readme = "creole.setup_utils:update_creole_markdown_readme" publish = "creole.publish:publish" [build-system] requires = ["poetry>=0.12"] build-backend = "poetry.masonry.api" [tool.darker] src = ['.'] revision = "origin/main..." line_length = 100 verbose = true skip_string_normalization = true diff = false check = false stdout = false isort = true lint = [ "flake8", ] log_level = "INFO" [tool.flynt] line_length = 100 [tool.isort] # https://pycqa.github.io/isort/docs/configuration/config_files/#pyprojecttoml-preferred-format atomic=true profile='black' line_length=100 skip_glob=["*/htmlcov/*"] known_first_party=["creole"] lines_after_imports=2 [tool.pytest.ini_options] # https://docs.pytest.org/en/latest/customize.html#pyproject-toml minversion = "6.0" norecursedirs = ".* __pycache__ conf coverage* dist htmlcov" # sometimes helpfull "addopts" arguments: # -vv # --verbose # --capture=no # --trace-config # --full-trace # -p no:warnings addopts = """ --cov=. --cov-report term-missing --cov-report html --cov-report xml --no-cov-on-fail --showlocals --doctest-modules --failed-first --last-failed-no-failures all --new-first """ # TODO: --mypy [tool.tox] # https://tox.readthedocs.io/en/latest/example/basic.html#pyproject-toml-tox-legacy-ini legacy_tox_ini = """ [tox] isolated_build = True envlist = py310,py39,py38,py37 skip_missing_interpreters = True [testenv] passenv = * whitelist_externals = make commands = make pytest """