Skip to content

Commit

Permalink
Improve title and description
Browse files Browse the repository at this point in the history
Rename and updated description to bring into focus that only PEP 621 complaint pyproject.toml files are supported.

Solves review #9516 (comment)
  • Loading branch information
jNullj committed Sep 4, 2023
1 parent 05702d5 commit e2ecbf5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/python/python-version-from-toml.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const schema = Joi.object({
}).required(),
}).required()

const documentation = `Shows the required python version for a package based on the values in the requires-python field in the pyproject.toml \n
const documentation = `Shows the required python version for a package based on the values in the requires-python field in PEP 621 compliant pyproject.toml \n
a URL of the toml is required, please note that when linking to files in github or similar sites, provide URL to raw file, for example:
Use https://raw.githubusercontent.com/numpy/numpy/main/pyproject.toml \n
Expand All @@ -30,7 +30,7 @@ class PythonVersionFromToml extends BaseTomlService {

static examples = [
{
title: 'Python Required Version TOML',
title: 'Python Version from PEP 621 TOML',
namedParams: {},
queryParams: {
tomlFilePath:
Expand Down

0 comments on commit e2ecbf5

Please sign in to comment.