diff --git a/compiler/error/__init__.py b/compiler/errors/__init__.py similarity index 100% rename from compiler/error/__init__.py rename to compiler/errors/__init__.py diff --git a/compiler/error/compiler.py b/compiler/errors/compiler.py similarity index 100% rename from compiler/error/compiler.py rename to compiler/errors/compiler.py diff --git a/compiler/error/sort.py b/compiler/errors/sort.py similarity index 100% rename from compiler/error/sort.py rename to compiler/errors/sort.py diff --git a/compiler/error/source/303_SEE_OTHER.tsv b/compiler/errors/source/303_SEE_OTHER.tsv similarity index 100% rename from compiler/error/source/303_SEE_OTHER.tsv rename to compiler/errors/source/303_SEE_OTHER.tsv diff --git a/compiler/error/source/400_BAD_REQUEST.tsv b/compiler/errors/source/400_BAD_REQUEST.tsv similarity index 100% rename from compiler/error/source/400_BAD_REQUEST.tsv rename to compiler/errors/source/400_BAD_REQUEST.tsv diff --git a/compiler/error/source/401_UNAUTHORIZED.tsv b/compiler/errors/source/401_UNAUTHORIZED.tsv similarity index 100% rename from compiler/error/source/401_UNAUTHORIZED.tsv rename to compiler/errors/source/401_UNAUTHORIZED.tsv diff --git a/compiler/error/source/403_FORBIDDEN.tsv b/compiler/errors/source/403_FORBIDDEN.tsv similarity index 100% rename from compiler/error/source/403_FORBIDDEN.tsv rename to compiler/errors/source/403_FORBIDDEN.tsv diff --git a/compiler/error/source/406_NOT_ACCEPTABLE.tsv b/compiler/errors/source/406_NOT_ACCEPTABLE.tsv similarity index 100% rename from compiler/error/source/406_NOT_ACCEPTABLE.tsv rename to compiler/errors/source/406_NOT_ACCEPTABLE.tsv diff --git a/compiler/error/source/420_FLOOD.tsv b/compiler/errors/source/420_FLOOD.tsv similarity index 100% rename from compiler/error/source/420_FLOOD.tsv rename to compiler/errors/source/420_FLOOD.tsv diff --git a/compiler/error/source/500_INTERNAL_SERVER_ERROR.tsv b/compiler/errors/source/500_INTERNAL_SERVER_ERROR.tsv similarity index 100% rename from compiler/error/source/500_INTERNAL_SERVER_ERROR.tsv rename to compiler/errors/source/500_INTERNAL_SERVER_ERROR.tsv diff --git a/compiler/error/template/class.txt b/compiler/errors/template/class.txt similarity index 100% rename from compiler/error/template/class.txt rename to compiler/errors/template/class.txt diff --git a/compiler/error/template/sub_class.txt b/compiler/errors/template/sub_class.txt similarity index 100% rename from compiler/error/template/sub_class.txt rename to compiler/errors/template/sub_class.txt diff --git a/setup.py b/setup.py index 28942b6b..c26ee2dd 100644 --- a/setup.py +++ b/setup.py @@ -25,7 +25,7 @@ from setuptools import setup, find_packages, Command from compiler.api import compiler as api_compiler from compiler.docs import compiler as docs_compiler -from compiler.error import compiler as error_compiler +from compiler.errors import compiler as error_compiler with open("requirements.txt", encoding="utf-8") as r: requires = [i.strip() for i in r]