aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2017-07-15 00:04:32 +0000
committerZac Medico <zmedico@gentoo.org>2018-03-29 20:51:15 -0700
commit9669e4d52441f4ef0d01bbca1cdf048d6903ab92 (patch)
treeb041b6db271d0dddf8ff44a7a136da723eaf17f4
parentrepoman: Update repo.eapi.deprecated to repo.eapi-deprecated (diff)
downloadportage-9669e4d52441f4ef0d01bbca1cdf048d6903ab92.tar.gz
portage-9669e4d52441f4ef0d01bbca1cdf048d6903ab92.tar.bz2
portage-9669e4d52441f4ef0d01bbca1cdf048d6903ab92.zip
repoman: Move errors data to repo metadata/repoman/linechecks.yaml
-rw-r--r--repoman/pym/repoman/modules/scan/ebuild/errors.py53
1 files changed, 0 insertions, 53 deletions
diff --git a/repoman/pym/repoman/modules/scan/ebuild/errors.py b/repoman/pym/repoman/modules/scan/ebuild/errors.py
deleted file mode 100644
index 22547f4d5..000000000
--- a/repoman/pym/repoman/modules/scan/ebuild/errors.py
+++ /dev/null
@@ -1,53 +0,0 @@
-# -*- coding:utf-8 -*-
-# repoman: Error Messages
-# Copyright 2007-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-from __future__ import unicode_literals
-
-COPYRIGHT_ERROR = (
- 'Invalid Gentoo Copyright on line: %d')
-LICENSE_ERROR = (
- 'Invalid Gentoo/GPL License on line: %d')
-ID_HEADER_ERROR = (
- 'Stale CVS header on line: %d')
-NO_BLANK_LINE_ERROR = (
- 'Non-blank line after header on line: %d')
-LEADING_SPACES_ERROR = (
- 'Ebuild contains leading spaces on line: %d')
-TRAILING_WHITESPACE_ERROR = (
- 'Trailing whitespace error on line: %d')
-READONLY_ASSIGNMENT_ERROR = (
- 'Ebuild contains assignment to read-only variable on line: %d')
-MISSING_QUOTES_ERROR = (
- 'Unquoted Variable on line: %d')
-NESTED_DIE_ERROR = (
- 'Ebuild calls die in a subshell on line: %d')
-PATCHES_ERROR = (
- 'PATCHES is not a bash array on line: %d')
-REDUNDANT_CD_S_ERROR = (
- 'Ebuild has redundant cd ${S} statement on line: %d')
-EMAKE_PARALLEL_DISABLED = (
- 'Upstream parallel compilation bug (ebuild calls emake -j1 on line: %d)')
-EMAKE_PARALLEL_DISABLED_VIA_MAKEOPTS = (
- 'Upstream parallel compilation bug (MAKEOPTS=-j1 on line: %d)')
-DEPRECATED_BINDNOW_FLAGS = (
- 'Deprecated bindnow-flags call on line: %d')
-EAPI_DEFINED_AFTER_INHERIT = (
- 'EAPI defined after inherit on line: %d')
-NO_AS_NEEDED = (
- 'Upstream asneeded linking bug (no-as-needed on line: %d)')
-PRESERVE_OLD_LIB = (
- 'Ebuild calls deprecated preserve_old_lib on line: %d')
-BUILT_WITH_USE = (
- 'built_with_use on line: %d')
-NO_OFFSET_WITH_HELPERS = (
- "Helper function is used with D, ROOT, ED, EROOT or EPREFIX on line :%d")
-SANDBOX_ADDPREDICT = (
- 'Ebuild calls addpredict on line: %d')
-USEQ_ERROR = (
- 'Ebuild calls deprecated useq function on line: %d')
-HASQ_ERROR = (
- 'Ebuild calls deprecated hasq function on line: %d')
-URI_HTTPS = (
- 'Ebuild uses http:// but should use https:// on line: %d')