Skip to content

Format and lint web directory#67

Merged
michplunkett merged 38 commits intodevfrom
ruff-web
Mar 10, 2025
Merged

Format and lint web directory#67
michplunkett merged 38 commits intodevfrom
ruff-web

Conversation

@michplunkett
Copy link
Collaborator

What do?

This formats and lints the web directory of the application and adds ruff to the default pre-commit pipeline.

@michplunkett michplunkett self-assigned this Mar 3, 2025
Comment on lines +26 to +29
# TODO: Create dev, test, and prod versions of settings that do not have
# TODO: to be passed in as a parameter
if settings is None:
settings = get_settings()
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The next step will be to have the Settings object setup automatically depending on the ENV variable.

@michplunkett michplunkett marked this pull request as ready for review March 3, 2025 22:16
@michplunkett michplunkett requested a review from msramalho as a code owner March 3, 2025 22:16
"""
if not hasattr(self, '_permissions'):
self._permissions = {}
if not self._permissions:
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, I see it is defined in the readme.
TODO for me is standardize those definitions in the readme

@michplunkett michplunkett requested a review from msramalho March 10, 2025 17:18
@michplunkett michplunkett merged commit b50ca91 into dev Mar 10, 2025
5 checks passed
@michplunkett michplunkett deleted the ruff-web branch March 10, 2025 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants