Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
yangdanny97 committed Dec 29, 2024
1 parent 17f2cfa commit f9aae55
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions services/pypi/pypi-typing.service.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ export default class PypiTyping extends PypiBase {
'/pypi/typing/{packageName}': {
get: {
summary: 'PyPI - Typing',
description: 'Whether the package provides type information (inline annotations or stub files)',
description:
'Whether the package provides type information (inline annotations or stub files)',
parameters: pypiGeneralParams,
},
},
Expand All @@ -33,7 +34,7 @@ export default class PypiTyping extends PypiBase {

async handle({ egg }, { pypiBaseUrl }) {
const packageData = await this.fetch({ egg, pypiBaseUrl })
const isTyped = packageData.info.classifiers.includes("Typing :: Typed");
const isTyped = packageData.info.classifiers.includes('Typing :: Typed')
return this.constructor.render({ isTyped })
}
}

0 comments on commit f9aae55

Please sign in to comment.