Skip to content

Commit

Permalink
isort
Browse files Browse the repository at this point in the history
  • Loading branch information
nilbacardit26 committed Nov 15, 2023
1 parent 16bfc77 commit bcfaef7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, 3.10]
python-version: [3.7, 3.8, 3.9, "3.10"]
database: ["DUMMY", "postgres"]
env:
DATABASE: ${{ matrix.database }}
Expand Down
1 change: 1 addition & 0 deletions guillotina_audit/permissions.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from guillotina import configure


configure.grant(role="guillotina.Manager", permission="audit.AccessContent")
2 changes: 1 addition & 1 deletion guillotina_audit/subscriber.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from guillotina import configure
from guillotina.component import query_utility
from guillotina_audit.interfaces import IAuditUtility
from guillotina.interfaces import IObjectAddedEvent
from guillotina.interfaces import IObjectModifiedEvent
from guillotina.interfaces import IObjectRemovedEvent
from guillotina.interfaces import IResource
from guillotina_audit.interfaces import IAuditUtility


@configure.subscriber(for_=(IResource, IObjectAddedEvent), priority=1001) # after indexing
Expand Down
2 changes: 1 addition & 1 deletion guillotina_audit/tests/fixtures.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from guillotina import testing
from guillotina.tests.fixtures import _update_from_pytest_markers

import json
import os
import pytest
import json


ELASTICSEARCH = os.environ.get("ELASTICSEARCH", "True")
Expand Down

0 comments on commit bcfaef7

Please sign in to comment.