[project] name = "odoo_scripts" version = "16.4.0" description = "Collection of scripts for Odoo" readme = "README.rst" requires-python = ">=3.6" license = {file = "LICENSE"} authors = [ {name = "XCG Consulting"}, ] classifiers = [ "Development Status :: 5 - Production/Stable", "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License", "Environment :: Console", ] keywords = ["odoo"] [build-system] requires = ["setuptools >= 40.6.0", "wheel"] build-backend = "setuptools.build_meta" [tool.black] target = 3.6 [tool.isort] profile = "black" [tool.coverage.run] branch = true source = ["odoo_scripts"] [tool.coverage.report] show_missing = true [tool.tox] legacy_tox_ini = """ [tox] minversion = 3.15 envlist = py36,py37,py38,py39,py310,coverage-report skip_missing_interpreters = true isolated_build = True [testenv:py{36,37,38,39,310}] setenv = COVERAGE_FILE = .coverage.{envname} deps = coverage[toml] pytest py310: git+https://github.com/xcgd/odoorpc@fix-oca-issue-66#egg=odoorpc commands = coverage run -m pytest --junitxml=report.{envname}.xml {posargs} [testenv:coverage-report] skip_install = true deps = coverage[toml] depends = py36,py37,py38,py39,py310 commands = coverage combine coverage report parallel_show_output = true [testenv:coverage-xml] skip_install = true deps = coverage[toml] depends = coverage-report commands = coverage xml """