From 1b42fb7f778379e350506d238d3046ee120a200a Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Fri, 13 Nov 2020 17:59:41 +0100 Subject: [PATCH] Rename "error" package to "errors" --- compiler/{error => errors}/__init__.py | 0 compiler/{error => errors}/compiler.py | 0 compiler/{error => errors}/sort.py | 0 compiler/{error => errors}/source/303_SEE_OTHER.tsv | 0 compiler/{error => errors}/source/400_BAD_REQUEST.tsv | 0 compiler/{error => errors}/source/401_UNAUTHORIZED.tsv | 0 compiler/{error => errors}/source/403_FORBIDDEN.tsv | 0 compiler/{error => errors}/source/406_NOT_ACCEPTABLE.tsv | 0 compiler/{error => errors}/source/420_FLOOD.tsv | 0 compiler/{error => errors}/source/500_INTERNAL_SERVER_ERROR.tsv | 0 compiler/{error => errors}/template/class.txt | 0 compiler/{error => errors}/template/sub_class.txt | 0 setup.py | 2 +- 13 files changed, 1 insertion(+), 1 deletion(-) rename compiler/{error => errors}/__init__.py (100%) rename compiler/{error => errors}/compiler.py (100%) rename compiler/{error => errors}/sort.py (100%) rename compiler/{error => errors}/source/303_SEE_OTHER.tsv (100%) rename compiler/{error => errors}/source/400_BAD_REQUEST.tsv (100%) rename compiler/{error => errors}/source/401_UNAUTHORIZED.tsv (100%) rename compiler/{error => errors}/source/403_FORBIDDEN.tsv (100%) rename compiler/{error => errors}/source/406_NOT_ACCEPTABLE.tsv (100%) rename compiler/{error => errors}/source/420_FLOOD.tsv (100%) rename compiler/{error => errors}/source/500_INTERNAL_SERVER_ERROR.tsv (100%) rename compiler/{error => errors}/template/class.txt (100%) rename compiler/{error => errors}/template/sub_class.txt (100%) 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]