Skip to content

Commit

Permalink
✅ Add flake8-pie validation
Browse files Browse the repository at this point in the history
  • Loading branch information
jemrobinson committed Sep 26, 2024
1 parent 6324fe5 commit 3cf98a3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
4 changes: 0 additions & 4 deletions guacamole_user_sync/models/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
class LDAPError(Exception):
"""LDAP error."""

pass


class PostgreSQLError(Exception):
"""PostgreSQL error."""

pass
2 changes: 0 additions & 2 deletions guacamole_user_sync/postgresql/orm.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ class GuacamoleEntityType(enum.Enum):
class GuacamoleBase(DeclarativeBase): # type:ignore
"""Guacamole database base table."""

pass


class GuacamoleEntity(GuacamoleBase):
"""Guacamole database GuacamoleEntity table."""
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ select = [
"ISC", # flake8-implicit-str-concat
"LOG", # flake8-logging
"N", # pep8-naming
"PIE", # flake8-pie
"S", # flake8-bandit
"UP", # pyupgrade
"W", # pycodestyle warnings
Expand Down

0 comments on commit 3cf98a3

Please sign in to comment.