Skip to content
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 ESSArch_Core/WorkflowEngine/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def create_sub_task(t, step=None, immutable=True, link_error=None):

# For some reason, __repr__ needs to be called for the link_error
# signature to be called when an error occurs in a task
repr(link_error)
repr(link_error) # noqa: B018

logger.debug(
"CREATE SUB TASK: process_task_pk=%s celery_id=%s "
Expand Down
16 changes: 0 additions & 16 deletions ESSArch_Core/essxml/ProfileMaker/xsdtojson.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,6 @@ def getSuffix(tag):

def analyze2(element, tree, usedTypes=None, minC=1, maxC=1, choise=-1):
global choiseCount
global elCount
global complexTypes
global attributeGroups
global finishedGroups
global attributesComplexTypes
global elementTypes

if usedTypes is None:
usedTypes = []
Expand Down Expand Up @@ -244,8 +238,6 @@ def analyze2(element, tree, usedTypes=None, minC=1, maxC=1, choise=-1):


def parseAttribute(element):
global complexTypes
global attributeGroups
att = OrderedDict()
name = element.get('name')

Expand Down Expand Up @@ -310,10 +302,6 @@ def parseAttribute(element):


def generateExtensionRef(schemadoc, namespace):
global complexTypes
global attributeGroups
global groups
global elementTypes
schema = '{http://www.w3.org/2001/XMLSchema}'

for key, value in schemadoc.attrib.items():
Expand Down Expand Up @@ -376,10 +364,6 @@ def generateExtensionRef(schemadoc, namespace):


def generateJsonRes(schemadoc, rootElement, namespace):
global complexTypes
global attributeGroups
global groups
global elementTypes
schema = '{http://www.w3.org/2001/XMLSchema}'

for key, value in schemadoc.attrib.items():
Expand Down
9 changes: 4 additions & 5 deletions ESSArch_Core/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ class FileFormatNotAllowed(ESSArchException):

class ValidationError(ESSArchException):
def __init__(self, message, errors=None):
super().__init__(message)
self.errors = errors if errors is not None else []
super().__init__(message, errors)

if errors is None:
errors = []

self.errors = errors
def __str__(self):
return str(self.args[0])


class Locked(APIException, ESSArchException):
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ Now whenever you run `git commit`, all hooks defined in `.pre-commit-config.yaml
## Resources

- [Documentation](https://docs.essarch.org/)
- [ES Solutions website](http://essolutions.se)
- [ES Solutions website](https://essolutions.se)

# Service and support

Service and support on ESSArch Core is regulated in maintenance contract with ES Solutions AB. A case is registered on the support portal http://projects.essolutions.se
Service and support on ESSArch Core is regulated in maintenance contract with ES Solutions AB. A case is registered on the support portal https://projects.essolutions.se
19 changes: 9 additions & 10 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,24 @@ cryptography==50.0.2
daphne==4.2.3
dj-rest-auth[with-social]==7.2.0
django==5.2.19
django-allauth==65.11.1
django-allauth==65.22.1
django-cors-headers==4.9.0
django-countries-plus==2.2.0
django-csp==3.7
django-environ==0.11.2
django-environ==0.14.0
django-filter==26.2
django-groups-manager==1.3.0
django-guardian==3.5.2
django-languages-plus==2.1.1
django-mptt==0.21.1
django-mptt==0.22.0
django-nested-inline==0.4.6
django-picklefield==3.4.0
django-redis==7.0.0
django-relativity==0.2.6
djangorestframework==3.18.3
django-json-widget==1.1.1
django-proxy==1.2.2
django-rest-knox==5.0.2
django-json-widget==2.2.0
django-proxy==1.3.0
django-rest-knox==6.0.0
djangorestframework-simplejwt[crypto]==5.5.1
distro==1.9.0
docker==7.1.0
Expand All @@ -46,11 +46,10 @@ natsort==8.4.0
opf-fido==1.6.1
pyfakefs==6.3.2
pywin32==312 ; platform_system=='Windows'
redis==8.1.0
regex==2026.11.9
redis==8.2.0
regex==2026.11.24
requests==2.34.2
requests-toolbelt==1.0.0
setuptools==81.0.0
tenacity==9.2.1
warcio==1.7.4
weasyprint==52.5
weasyprint==70.0
2 changes: 1 addition & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pywatchman==3.0.0
pywatchman==4.0.0
watchdog==6.0.0
django-sslserver==0.22
sentry-sdk==2.14.0
Expand Down
11 changes: 5 additions & 6 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
docutils==0.21.2
sphinx-intl==2.3.1
sphinx-rtd-theme==3.0.2
sphinx==8.2.3
sphinxcontrib-httpdomain==1.8.1
sphinxcontrib-httpexample==1.3
sphinx-intl==2.4.0
sphinx-rtd-theme==3.1.0
sphinx==9.2.0
sphinxcontrib-httpdomain==2.2.1
sphinxcontrib-httpexample==2.0
12 changes: 6 additions & 6 deletions requirements/lint.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
doc8==1.1.2
flake8==7.1.1
flake8-assertive==2.1.0
flake8-bugbear==24.8.19
isort==5.13.2
autopep8==2.3.1
doc8==2.0.0
flake8==7.5.0
flake8-assertive==2.3.0
flake8-bugbear==26.11.22
isort==9.0.2
autopep8==2.3.2
2 changes: 1 addition & 1 deletion requirements/optional.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ django-auto-logout==0.5.1
django-axes==6.5.2
pysaml2==7.5.5
djangosaml2==1.13.0
unoserver==3.6
unoserver==3.7
comtypes==1.5.0 ; platform_system=='Windows'
wfastcgi==3.0.0
mod-wsgi==6.1.1
Expand Down
Loading