From e44a8334cbf48280ad6c8c1538dc0fa708fca433 Mon Sep 17 00:00:00 2001 From: mcflugen Date: Thu, 14 Mar 2024 13:10:32 -0600 Subject: [PATCH] remove some lint --- babelizer/_files/gitignore.py | 1 + babelizer/_files/license_rst.py | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/babelizer/_files/gitignore.py b/babelizer/_files/gitignore.py index 8e9a5be..03f9a12 100644 --- a/babelizer/_files/gitignore.py +++ b/babelizer/_files/gitignore.py @@ -2,6 +2,7 @@ def render(plugin_metadata) -> str: + """Render a .gitignore file.""" package_name = plugin_metadata.get("package", "name") languages = { diff --git a/babelizer/_files/license_rst.py b/babelizer/_files/license_rst.py index 5d5d187..0d13bdc 100644 --- a/babelizer/_files/license_rst.py +++ b/babelizer/_files/license_rst.py @@ -2,13 +2,12 @@ def render(plugin_metadata) -> str: + """Render LICENSE.rst.""" license_name = plugin_metadata.get("info", "package_license") kwds = { "full_name": plugin_metadata.get("info", "package_author"), "year": datetime.now().year, - "project_short_description": plugin_metadata.get( - "info", "summary" - ), + "project_short_description": plugin_metadata.get("info", "summary"), } return LICENSE[license_name].format(**kwds)