style: Pylint fixes #59
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes various changes across multiple files to improve code quality and consistency. The changes mainly focus on updating docstrings, reordering imports, and ignoring additional linting rules.
Linting and Code Quality Improvements:
.flake8
: Added new rules to ignore specific linting errors including B008, ANN, and D100-D107.Documentation Improvements:
src/backend/api/api_routes.py
: Updated docstrings for multiple functions to ensure they end with a period. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]src/backend/api/auth/auth_utils.py
: Updated docstrings to ensure they end with a period and reordered imports for better readability. [1] [2]src/backend/common/database/cosmosdb.py
: Updated docstrings to ensure they end with a period and removed unused imports. [1] [2] [3] [4] [5] [6] [7]src/backend/common/database/database_base.py
: Updated docstrings to ensure they end with a period. [1] [2] [3]Import Reordering:
src/backend/api/status_updates.py
: Improved readability by adding a newline between import statements and the module docstring. [1] [2]src/backend/app.py
: Reordered imports and added a module docstring. [1] [2]src/backend/common/config/config.py
: Added a newline between import statements and the module docstring.src/backend/common/database/database_factory.py
: Removed unused import statements.