Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ruff: GH Action and Reformat Files #269

Merged
merged 2 commits into from
Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ jobs:
run: pip install .[linting]
- name: Run flake8
run: |
ruff .
ruff check .
ruff format --check .
isort src/organizations --check --diff
1 change: 1 addition & 0 deletions example/conf/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
framework.

"""

import os

from django.core.wsgi import get_wsgi_application
Expand Down
1 change: 1 addition & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

Several nox tasks copied from the pipx project, Copyright (c) 2018 Chad Smith
"""

import os
import subprocess

Expand Down
1 change: 1 addition & 0 deletions src/organizations/backends/modeled.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Invitations that use an invitation model
"""

import email.utils
from typing import List # noqa
from typing import Optional # noqa
Expand Down
4 changes: 1 addition & 3 deletions tests/backends/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
"""

"""
""" """
1 change: 1 addition & 0 deletions tests/test_fields.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
Tests for configurable fields
"""

import importlib

from django.core.exceptions import ImproperlyConfigured
Expand Down
Loading