|
| 1 | +[build-system] |
| 2 | +requires = ["setuptools"] |
| 3 | +build-backend = "setuptools.build_meta" |
| 4 | + |
| 5 | +[project] |
| 6 | +name = "pulp-cli-console" |
| 7 | +version = "0.1.0.dev" |
| 8 | +description = "Command line interface to talk to pulpcore's REST API. (Console plugin commands)" |
| 9 | +readme = "README.md" |
| 10 | +requires-python = ">=3.8" |
| 11 | +license = {text = "GPLv2+"} |
| 12 | +authors = [ |
| 13 | + { name = "Pulp Team", email = "[email protected]"}, |
| 14 | +] |
| 15 | +classifiers=[ |
| 16 | + "Development Status :: 4 - Beta", |
| 17 | + "Environment :: Console", |
| 18 | + "Intended Audience :: System Administrators", |
| 19 | + "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", |
| 20 | + "Operating System :: OS Independent", |
| 21 | + "Programming Language :: Python :: 3", |
| 22 | + "Topic :: System :: Software Distribution", |
| 23 | + "Typing :: Typed", |
| 24 | +] |
| 25 | +dependencies = [ |
| 26 | + "pulp-cli>=0.23.1,<0.32" |
| 27 | + ] |
| 28 | + |
| 29 | +[project.urls] |
| 30 | +repository = "https://github.com/pulp/pulp-cli-console" |
| 31 | +changelog = "https://github.com/pulp/pulp-cli-console/blob/main/CHANGES.md" |
| 32 | + |
| 33 | +[project.entry-points."pulp_cli.plugins"] |
| 34 | +console = "pulpcore.cli.console" |
| 35 | + |
| 36 | +[tool.setuptools.packages.find] |
| 37 | +# This section is managed by the cookiecutter templates. |
| 38 | +where = ["."] |
| 39 | +include = ["pulpcore.cli.*"] |
| 40 | +namespaces = true |
| 41 | + |
| 42 | +[tool.setuptools.package-data] |
| 43 | +# This section is managed by the cookiecutter templates. |
| 44 | +"*" = ["py.typed"] |
| 45 | + |
| 46 | + |
| 47 | +[tool.pulp_cli_template] |
| 48 | +# This section is co-managed by the cookiecutter templates. |
| 49 | +# Changes to existing keys should be preserved. |
| 50 | +app_label = "console" |
| 51 | +repository = "https://github.com/pulp/pulp-cli-console" |
| 52 | +glue = true |
| 53 | +docs = false |
| 54 | +translations = false |
| 55 | +main_package = "console" |
| 56 | +binary_dependencies = "" |
| 57 | +unittests = false |
| 58 | + |
| 59 | +[tool.towncrier] |
| 60 | +# This section is managed by the cookiecutter templates. |
| 61 | +filename = "CHANGES.md" |
| 62 | +directory = "CHANGES/" |
| 63 | +title_format = "## {version} ({project_date}) {{: #{version} }}" |
| 64 | +template = "CHANGES/.TEMPLATE.md" |
| 65 | +issue_format = "[#{issue}](https://github.com/pulp/pulp-cli-console/issues/{issue})" |
| 66 | +start_string = "[//]: # (towncrier release notes start)\n" |
| 67 | +underlines = ["", "", ""] |
| 68 | + |
| 69 | +[[tool.towncrier.section]] |
| 70 | +# This section is managed by the cookiecutter templates. |
| 71 | +path = "" |
| 72 | +name = "" |
| 73 | + |
| 74 | +[[tool.towncrier.section]] |
| 75 | +# This section is managed by the cookiecutter templates. |
| 76 | +path = "pulp-glue-console" |
| 77 | +name = "Pulp-console GLUE" |
| 78 | + |
| 79 | +[[tool.towncrier.type]] |
| 80 | +# This section is managed by the cookiecutter templates. |
| 81 | +directory = "feature" |
| 82 | +name = "Features" |
| 83 | +showcontent = true |
| 84 | + |
| 85 | +[[tool.towncrier.type]] |
| 86 | +# This section is managed by the cookiecutter templates. |
| 87 | +directory = "bugfix" |
| 88 | +name = "Bugfixes" |
| 89 | +showcontent = true |
| 90 | + |
| 91 | +[[tool.towncrier.type]] |
| 92 | +# This section is managed by the cookiecutter templates. |
| 93 | +directory = "removal" |
| 94 | +name = "Deprecations and Removals" |
| 95 | +showcontent = true |
| 96 | + |
| 97 | +[[tool.towncrier.type]] |
| 98 | +# This section is managed by the cookiecutter templates. |
| 99 | +directory = "devel" |
| 100 | +name = "Developer Notes" |
| 101 | +showcontent = true |
| 102 | + |
| 103 | +[[tool.towncrier.type]] |
| 104 | +# This section is managed by the cookiecutter templates. |
| 105 | +directory = "misc" |
| 106 | +name = "Misc" |
| 107 | +showcontent = true |
| 108 | + |
| 109 | + |
| 110 | +[tool.black] |
| 111 | +# This section is managed by the cookiecutter templates. |
| 112 | +line-length = 100 |
| 113 | + |
| 114 | +[tool.isort] |
| 115 | +# This section is managed by the cookiecutter templates. |
| 116 | +profile = "black" |
| 117 | +line_length = 100 |
| 118 | +skip = ["pulp-glue-console"] |
| 119 | + |
| 120 | +[tool.pytest.ini_options] |
| 121 | +markers = [ |
| 122 | + "script: tests provided as shell scripts", |
| 123 | + "help_page: tests that render help pages", |
| 124 | + "pulp_console: pulp_console tests", |
| 125 | +] |
| 126 | + |
| 127 | +[tool.mypy] |
| 128 | +# This section is managed by the cookiecutter templates. |
| 129 | +strict = true |
| 130 | +warn_unused_ignores = false |
| 131 | +show_error_codes = true |
| 132 | +files = "pulpcore/**/*.py, tests/*.py" |
| 133 | +namespace_packages = true |
| 134 | +explicit_package_bases = true |
| 135 | + |
| 136 | +[[tool.mypy.overrides]] |
| 137 | +# This section is managed by the cookiecutter templates. |
| 138 | +module = [ |
| 139 | + "click_shell.*", |
| 140 | + "gnupg.*", |
| 141 | + "IPython.*", |
| 142 | + "schema.*", |
| 143 | +] |
| 144 | +ignore_missing_imports = true |
| 145 | + |
| 146 | +[tool.bumpversion] |
| 147 | +# This section is managed by the cookiecutter templates. |
| 148 | +current_version = "0.1.0.dev" |
| 149 | +commit = false |
| 150 | +tag = false |
| 151 | +parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)(\\.(?P<release>[a-z]+))?" |
| 152 | +serialize = [ |
| 153 | + "{major}.{minor}.{patch}.{release}", |
| 154 | + "{major}.{minor}.{patch}", |
| 155 | +] |
| 156 | + |
| 157 | +[tool.bumpversion.parts.release] |
| 158 | +# This section is managed by the cookiecutter templates. |
| 159 | +optional_value = "prod" |
| 160 | +values = [ |
| 161 | + "dev", |
| 162 | + "prod", |
| 163 | +] |
| 164 | + |
| 165 | +[[tool.bumpversion.files]] |
| 166 | +# This section is managed by the cookiecutter templates. |
| 167 | +filename = "./pulp-glue-console/pulp_glue/console/__init__.py" |
| 168 | +search = "__version__ = \"{current_version}\"" |
| 169 | +replace = "__version__ = \"{new_version}\"" |
| 170 | + |
| 171 | +[[tool.bumpversion.files]] |
| 172 | +# This section is managed by the cookiecutter templates. |
| 173 | +filename = "./pulpcore/cli/console/__init__.py" |
| 174 | +search = "__version__ = \"{current_version}\"" |
| 175 | +replace = "__version__ = \"{new_version}\"" |
| 176 | + |
| 177 | +[[tool.bumpversion.files]] |
| 178 | +# This section is managed by the cookiecutter templates. |
| 179 | +filename = "./pulp-glue-console/pyproject.toml" |
| 180 | +search = "version = \"{current_version}\"" |
| 181 | +replace = "version = \"{new_version}\"" |
| 182 | + |
| 183 | +[[tool.bumpversion.files]] |
| 184 | +# This section is managed by the cookiecutter templates. |
| 185 | +filename = "./pyproject.toml" |
| 186 | +search = "version = \"{current_version}\"" |
| 187 | +replace = "version = \"{new_version}\"" |
| 188 | + |
| 189 | +[[tool.bumpversion.files]] |
| 190 | +# This section is managed by the cookiecutter templates. |
| 191 | +filename = "./pyproject.toml" |
| 192 | +search = "\"pulp-glue-console=={current_version}\"" |
| 193 | +replace = "\"pulp-glue-console=={new_version}\"" |
| 194 | + |
| 195 | + |
| 196 | +[tool.flake8] |
| 197 | +# This section is managed by the cookiecutter templates. |
| 198 | +exclude = ["./docs/*"] |
| 199 | +ignore = ["W503", "Q000", "Q003", "D100", "D104", "D106", "D200", "D202", "D205", "D400", "D401", "D402"] |
| 200 | +# E203: whitespace before ':'; https://github.com/psf/black/issues/279 |
| 201 | +# E401: multiple imports on one line |
| 202 | +extend-ignore = ["E203", "E401"] |
| 203 | +max-line-length = 100 |
0 commit comments