From 878a5dfc8a8f3a8da6e7ddccdc004200038bc4bb Mon Sep 17 00:00:00 2001 From: TechCrafterGaming Date: Tue, 30 Apr 2024 00:09:09 +0200 Subject: [PATCH 1/2] small changes to `ts_qt.py` (doc strings) --- tagstudio/src/qt/ts_qt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tagstudio/src/qt/ts_qt.py b/tagstudio/src/qt/ts_qt.py index 0127f357..24c45253 100644 --- a/tagstudio/src/qt/ts_qt.py +++ b/tagstudio/src/qt/ts_qt.py @@ -397,7 +397,7 @@ class QtDriver(QObject): def callback_library_needed_check(self,func): - #Check if loaded library has valid path before executing the button function + """Check if loaded library has valid path before executing the button function""" if self.lib.library_dir: func() @@ -406,7 +406,7 @@ class QtDriver(QObject): self.shutdown() def shutdown(self): - # Save Library on Application Exit + """Save Library on Application Exit""" if self.lib.library_dir: self.save_library() self.settings.setValue("last_library", self.lib.library_dir) From d02f06899184dc0f2599f927a9720c0f3f78191e Mon Sep 17 00:00:00 2001 From: TechCrafterGaming Date: Tue, 30 Apr 2024 00:09:43 +0200 Subject: [PATCH 2/2] small changes to `README` --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dd78737e..33302726 100644 --- a/README.md +++ b/README.md @@ -276,4 +276,4 @@ As of right now, no. However, I _did_ have a CLI version in the recent past befo **Yes!!** I recommend taking a look at the [Priority Features](#priority-features), [Future Features](#future-features), and [Features I Won't Pull](#features-i-likely-wont-addpull) lists, as well as the project issues to see what’s currently being worked on. Please do not submit pull requests with new feature additions without opening up an issue with a feature request first. -As of writing I don’t have a concrete style guide, just try to stay within or close enough to the PEP 8 style guide and/or match the style of the existing code. +As of writing I don’t have a concrete style guide, just try to stay within or close enough to the [PEP 8](https://peps.python.org/pep-0008/) style guide and/or match the style of the existing code.