mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 07:12:11 -05:00
chore: remove duplicated configuration files (#5928)
Remove duplicated linter configuration files when they match with the default ones..
This commit is contained in:
parent
26ddd8b084
commit
70e0239117
20 changed files with 7 additions and 1387 deletions
3
.github/linters/.cfnlintrc.yml
vendored
3
.github/linters/.cfnlintrc.yml
vendored
|
@ -1,3 +0,0 @@
|
|||
---
|
||||
include_checks:
|
||||
- I
|
802
.github/linters/.chktexrc
vendored
802
.github/linters/.chktexrc
vendored
|
@ -1,802 +0,0 @@
|
|||
##
|
||||
## ChkTeX, example resource file for ChkTeX.
|
||||
## Copyright (C) 1995-96 Jens T. Berger Thielemann
|
||||
##
|
||||
## This program is free software; you can redistribute it and/or modify
|
||||
## it under the terms of the GNU General Public License as published by
|
||||
## the Free Software Foundation; either version 2 of the License, or
|
||||
## (at your option) any later version.
|
||||
##
|
||||
## This program is distributed in the hope that it will be useful,
|
||||
## but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
## GNU General Public License for more details.
|
||||
##
|
||||
## You should have received a copy of the GNU General Public License
|
||||
## along with this program; if not, write to the Free Software
|
||||
## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
##
|
||||
## Contact the author at:
|
||||
## Jens Berger
|
||||
## Spektrumvn. 4
|
||||
## N-0666 Oslo
|
||||
## Norway
|
||||
## E-mail: <jensthi@ifi.uio.no>
|
||||
##
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# Note: The format has changed slightly (again). The { ... }
|
||||
# syntax does now mean case-sensitive comparing, while [ ... ] means
|
||||
# case-insensitive comparing of the keywords. Case-insensitive
|
||||
# comparing of the keywords is only supported on a few of the
|
||||
# keywords (it's not meaningful in all contexts, and it slows ChkTeX
|
||||
# down). Keywords supporting this are marked throughout the file.
|
||||
#
|
||||
# You may also reset a list by saying "KEYWORD = { ... }"; it will
|
||||
# then be set equal to the contents of the list you specify.
|
||||
#
|
||||
# Comments begin with `#', and continues for the rest of the line.
|
||||
# Blank lines plus leading and trailing spaces are of course ignored.
|
||||
#
|
||||
# The general format of this file is the following:
|
||||
#
|
||||
# KEYWORD { item item ...} [ item item ... ] /* Adds items */
|
||||
#
|
||||
# KEYWORD [ item item ...] { item item ... } /* Adds items */
|
||||
#
|
||||
# KEYWORD = item
|
||||
#
|
||||
# KEYWORD = { item item ... } /* Clears list before adding */
|
||||
#
|
||||
# KEYWORD = [ item item ... ] /* Clears list before adding */
|
||||
#
|
||||
# This does _not_ mean that you may alternate the forms; certain
|
||||
# keywords demands a list, other a single value. You thus have to
|
||||
# look at the examples of their use.
|
||||
#
|
||||
# Please also note that if you specify a list-keyword twice, we'll
|
||||
# concatenate the lists. If you specify a item-keyword twice, we'll
|
||||
# kill the previous value.
|
||||
#
|
||||
# We are slightly context-sensitive when detecting tokens like "}"
|
||||
# and "]"; they have to be preceded by a space. This generally makes
|
||||
# life easier.
|
||||
#
|
||||
# Items are separated by spaces. Newlines are considered as spaces,
|
||||
# but can't be escaped. You may surround items with quotes (`"') to
|
||||
# easily put spaces into them.
|
||||
#
|
||||
# Escape sequences available:
|
||||
#
|
||||
# Sequence Resulting character
|
||||
# ! A space (type `! ', not just a exclamation mark)
|
||||
# !" "
|
||||
# !# #
|
||||
# !! !
|
||||
# !{ {
|
||||
# !} }
|
||||
# ![ [
|
||||
# !] ]
|
||||
# != =
|
||||
# !b Backspace
|
||||
# !n New line
|
||||
# !r Carriage return
|
||||
# !t Tab
|
||||
# !f Form feed
|
||||
# !xNN NN must be a hexadecimal number (00 - ff),
|
||||
# _both_ characters must be included.
|
||||
# !dNNN DDD must be a decimal number (000 - 255), all
|
||||
# three characters must be included. Unspecified
|
||||
# results if DDD > 255.
|
||||
# !NNN DDD must be a octal number (000 - 377), all
|
||||
# three characters must be included. Unspecified
|
||||
# results if DDD > 377.
|
||||
#
|
||||
# Minor note: As you can see, most of these escape sequences are
|
||||
# equal to those in C (with some extensions); however, we use !
|
||||
# instead of \ as escape character for obvious reasons.
|
||||
#
|
||||
#
|
||||
# Quick summary of keywords follows. Keywords marked with a * accept
|
||||
# keywords accepting case-insensitive lists.
|
||||
#
|
||||
# Abbrev* - A list of abbreviations not automatically caught.
|
||||
# CenterDots - Commands/characters which should have \cdots in
|
||||
# between.
|
||||
# CmdLine - Default commandline options. These will be
|
||||
# processed before the ones you give on the command
|
||||
# line.
|
||||
# HyphDash \
|
||||
# NumDash - Number of dashes allowed in different contexts.
|
||||
# WordDash /
|
||||
# IJAccent - Commands which puts an accent _over_ their
|
||||
# argument.
|
||||
# Italic - Commands immediately turning on italic mode.
|
||||
# ItalCmd - Commands putting their argument into italic.
|
||||
# Linker - Commands which should have a non-breaking space in
|
||||
# front.
|
||||
# LowDots - Commands/characters which should have \ldots in
|
||||
# between.
|
||||
# MathEnvir - Environments which turn on math mode.
|
||||
# MathCmd - Commands which turn on math mode.
|
||||
# TextCmd - Commands which turn off math mode.
|
||||
# MathRoman - Mathematical operators with LaTeX replacement
|
||||
# defined.
|
||||
# NoCharNext - Insists on that certain commands aren't followed by
|
||||
# certain characters.
|
||||
# NonItalic - Commands immediately turning off italic mode.
|
||||
# NotPreSpaced- Commands which should not have a space in front of
|
||||
# them.
|
||||
# Primitives - Primitive TeX commands.
|
||||
# PostLink - Commands which generates a page reference.
|
||||
# OutFormat - Formats to use for output. See the -f & -v switch
|
||||
# in the main doc.
|
||||
# QuoteStyle - Either "Traditional" or "Logical". See main doc,
|
||||
# warning 38.
|
||||
# Silent - These commands do not produce any textual output;
|
||||
# and are thus allowed to have a space after them.
|
||||
# TabSize - Tab size you are using.
|
||||
# TeXInputs - Paths to search \input and \include files for.
|
||||
# UserWarn* - These strings will be searched for throughout the
|
||||
# text.
|
||||
# VerbEnvir - Environments which contents should be ignored.
|
||||
# VerbClear - String we will overwrite unwanted data with.
|
||||
# WipeArg - Commands (with arguments) which should be ignored
|
||||
# in the checking.
|
||||
#
|
||||
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# Enter which type of quote-style you are using here. Currently, we
|
||||
# support the following styles:
|
||||
#
|
||||
# Style Example of use
|
||||
# Traditional "An example," he said, "would be great."
|
||||
# Logical "An example", he said, "would be great".
|
||||
#
|
||||
|
||||
QuoteStyle = Logical
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# Enter here what interval you have between your tabs. Only regular
|
||||
# intervals are supported.
|
||||
#
|
||||
|
||||
TabSize = 8
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# Here, you can put default commandline options; most users would for
|
||||
# instance like to put -v2 here.
|
||||
#
|
||||
|
||||
CmdLine
|
||||
{
|
||||
-v2
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# These patterns will be searched for through the text; no matter
|
||||
# whether they appear as normal text, commands or whatever.
|
||||
# Currently case-sensitive. They are not found in comments.
|
||||
#
|
||||
# I usually define a special command like this:
|
||||
#
|
||||
# \def\unknown{\large\bf??}
|
||||
#
|
||||
# which I use whenever there is some information I don't have at the
|
||||
# moment of writing. Thus, it makes sense to search for it.
|
||||
#
|
||||
# You should be able to develop your own uses for this.
|
||||
#
|
||||
|
||||
UserWarn
|
||||
{
|
||||
|
||||
\unknown
|
||||
###
|
||||
#
|
||||
# Another example; one should write \chktex or Chk\TeX - never ChkTeX.
|
||||
#
|
||||
###
|
||||
|
||||
ChkTeX
|
||||
}
|
||||
[
|
||||
|
||||
###
|
||||
#
|
||||
# You may put case-insensitive patterns here.
|
||||
#
|
||||
###
|
||||
|
||||
]
|
||||
|
||||
|
||||
###
|
||||
#
|
||||
# These patterns will be searched for, no matter whether they appear
|
||||
# as normal text, commands or arguments. However, they will _not_
|
||||
# match in verbatim environments.
|
||||
#
|
||||
# Remember that you have to escape (with a !) the following
|
||||
# characters: "#!= as well as spaces and {}[] if they are proceeded by
|
||||
# a space.
|
||||
#
|
||||
# Since these are PCRE regular expressions, you can use (?i) to make
|
||||
# the expression case insensitive. See the man pages (man pcresyntax)
|
||||
# or the nicely formatted http://perldoc.perl.org/perlre.html for
|
||||
# documentation on the regular expression syntax. Note however that
|
||||
# some the features of perl regular expression are not available such
|
||||
# as running code (callouts), and replacing.
|
||||
#
|
||||
# An initial PCRE comment (?# ... ) can be used change what is
|
||||
# displayed, thereby reminding yourself how to fix the problem.
|
||||
#
|
||||
###
|
||||
UserWarnRegex
|
||||
{
|
||||
|
||||
(?!#Always! use! \nmid)\\not! *(\||\\mid)
|
||||
|
||||
# capitalize section when saying Section 6.
|
||||
(?!#-1:Capitalize! before! references)PCRE:\b(chapter|(sub)?section|theorem|lemma|proposition|corollary|appendix)~\\ref
|
||||
(?!#1:Capitalize! before! references)POSIX:([^[:alnum:]]|^)(chapter|(sub)?section|theorem|lemma|proposition|corollary|appendix)~\\ref
|
||||
|
||||
# spell it out.
|
||||
# PCRE:(?i)\bintro\b(?!#Spell! it! out.! This! comment! is! not! used.)
|
||||
# POSIX:([^[:alnum:]]|^)intro([^[:alnum:]]|$)
|
||||
|
||||
# Pretty tables--see http://texdoc.net/texmf-dist/doc/latex/booktabs/booktabs.pdf
|
||||
(?!#-2:Use! \toprule,! midrule,! or! \bottomrule! from! booktabs)\\hline
|
||||
# This relies on it being on a single line, and not having anything
|
||||
# else on that line. With PCRE we could match balanced [] and {},
|
||||
# but I wonder if it's worth the complexity...
|
||||
(?!#-2:Vertical! rules! in! tables! are! ugly)\\begin\{(array|tabularx?\*?)\}(\[.*\])?\{.*\|.*\}
|
||||
|
||||
}
|
||||
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# Here you can list the path of where ChkTeX should look for files it
|
||||
# \inputs. The // postfix is now supported; if you append a double
|
||||
# path-separator we'll recursively search that directory directories.
|
||||
# MS-DOS users must append \\ instead, e.g. "C:\EMTEX\\".
|
||||
#
|
||||
# If you under either MS-DOS or UNIX wish to search an entire
|
||||
# partition or the complete directory tree, you must use *three*
|
||||
# slashes, e.g. "c:\\\" or "///". This may be considered to be a bug.
|
||||
#
|
||||
# By default, we'll search the current directory (not recursively,
|
||||
# put "//" in the list for this); any paths specified below will be
|
||||
# searched in addition to this.
|
||||
#
|
||||
|
||||
TeXInputs
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# Here you may specify more output formats for use with the -v option,
|
||||
# it simply indexes into this list. Remember to use ! instead of \,
|
||||
# though.
|
||||
#
|
||||
# For explanation of how % fields expand; look at ChkTeX.{dvi,ps,pdf}.
|
||||
#
|
||||
# We will by default select entry number _two_ in this list (we count
|
||||
# from 0), and -v without any parameter selects entry number _three_.
|
||||
#
|
||||
|
||||
OutFormat
|
||||
{
|
||||
|
||||
# -v0; silent mode
|
||||
%f%b%l%b%c%b%n%b%m!n
|
||||
|
||||
# -v1; normal mode
|
||||
"%k %n in %f line %l: %m!n%r%s%t!n%u!n"
|
||||
|
||||
# -v2; fancy mode
|
||||
"%k %n in %f line %l: %m!n%r%i%s%I%t!n!n"
|
||||
|
||||
# -v3; lacheck mode
|
||||
"!"%f!", line %l: %m!n"
|
||||
|
||||
# -v4; verbose lacheck mode
|
||||
"!"%f!", line %l: %m!n%r%s%t!n%u!n"
|
||||
|
||||
# -v5; no line number, ease auto-test
|
||||
"%k %n in %f: %m!n%r%s%t!n%u!n"
|
||||
|
||||
# -v6; emacs compilation mode
|
||||
"!"%f!", line %l.%c:(#%n) %m!n"
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# These commands should be ignored when detecting whether a command
|
||||
# is ended by a space. You can specify regular expressions in the []
|
||||
# section in case you have many custom macros that can be safely
|
||||
# terminated with a space.
|
||||
#
|
||||
|
||||
Silent
|
||||
{
|
||||
\rm \em \bf \it \sl \sf \sc \tt \selectfont
|
||||
\rmfamily \sffamily \ttfamily \mdseries \bfseries
|
||||
\slshape \scshape \relax
|
||||
\vskip \pagebreak \nopagebreak
|
||||
|
||||
\textrm \textem \textbf \textit \textsl \textsf \textsc \texttt
|
||||
|
||||
\clearpage \ddots \dotfill \flushbottom \fussy \indent \linebreak
|
||||
\onecolumn \pagebreak \pushtabs \poptabs \scriptsize \sloppy
|
||||
\twocolumn \vdots
|
||||
\today \kill \newline \thicklines \thinlines
|
||||
|
||||
\columnsep \space \item \tiny \footnotesize \small \normalsize
|
||||
\normal \large \Large \LARGE \huge \Huge \printindex
|
||||
|
||||
\newpage \listoffigures \listoftables \tableofcontents
|
||||
\maketitle \makeindex
|
||||
|
||||
\hline \hrule \vrule
|
||||
|
||||
\centering
|
||||
|
||||
\bigskip \medskip \smallskip
|
||||
|
||||
\noindent \expandafter
|
||||
|
||||
\makeatletter \makeatother
|
||||
|
||||
\columnseprule
|
||||
|
||||
\textwidth \textheight \hsize \vsize
|
||||
|
||||
\if \fi \else
|
||||
|
||||
\csname \endcsname
|
||||
|
||||
\z@ \p@ \@warning \typeout
|
||||
|
||||
\dots \ldots \input \endinput \nextline \leavevmode \cdots
|
||||
\appendix \listfiles \and \quad
|
||||
\hskip \vfill \vfil \hfill \hfil \topmargin \oddsidemargin
|
||||
\frenchspacing \nonfrenchspacing
|
||||
\begingroup \endgroup \par
|
||||
|
||||
\vrefwarning \upshape \headheight \headsep \hoffset \voffset
|
||||
\cdot \qquad
|
||||
\left \right
|
||||
\qedhere
|
||||
|
||||
\xspace
|
||||
|
||||
\addlinespace \cr \fill \frontmatter
|
||||
\toprule \midrule \bottomrule
|
||||
|
||||
}[
|
||||
# Here you can put regular expressions to match Silent macros. It was
|
||||
# designed for the case where you have many custom macros sharing a
|
||||
# common prefix, but can of course be used for other things.
|
||||
|
||||
# Support ConTeXt to at least some extent
|
||||
\\start.* \\stop.*
|
||||
|
||||
]
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# Here, you can specify the length of various dashes. We sort the
|
||||
# dash according to which type of characters that are on the left and
|
||||
# right of it. We are only conclusive if they are the same.
|
||||
#
|
||||
# We associate as follows:
|
||||
#
|
||||
# Name Type of character on each side
|
||||
# HyphDash Alphabetic (foo-bar)
|
||||
# NumDash Numeric (2--3)
|
||||
# WordDash Space (like this --- see?)
|
||||
#
|
||||
# Below you specify how many dashes which are legal in each case. We
|
||||
# define 0 as a magic constant which always generates an error. You
|
||||
# may specify more than one legal dash-length.
|
||||
#
|
||||
# Let's look at an example. You use the following dash-syntax:
|
||||
#
|
||||
# foo-bar
|
||||
# 2--3
|
||||
# like this---see?
|
||||
#
|
||||
#
|
||||
# HYPHDASH { 1 3 } # Either a hyphen, or inter-word
|
||||
# NUMDASH { 2 } # Between words
|
||||
# WORDDASH { 0 } # We never use this
|
||||
#
|
||||
|
||||
HyphDash
|
||||
{
|
||||
1 3
|
||||
}
|
||||
|
||||
NumDash
|
||||
{
|
||||
2
|
||||
}
|
||||
|
||||
WordDash
|
||||
{
|
||||
3
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# Here are exceptions to the dash rules above. For example, an
|
||||
# n-dash -- between words is usually wrong, but in some cases it is
|
||||
# correct, such as when naming a theorem. The Birch--Swinnerton-Dyer
|
||||
# conjecture is one example where the difference matters. You can
|
||||
# tell that Birch is one person and Swinnerton-Dyer is another.
|
||||
#
|
||||
# Adding line suppressions for these is possible, but can quickly
|
||||
# become tedious if a certain theorem is referenced often. For this
|
||||
# reason exceptions can be specified here. They are case-sensitive.
|
||||
#
|
||||
|
||||
DashExcpt
|
||||
{
|
||||
Birch--Swinnerton-Dyer
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# This keyword indicates commands whose argument isn't LaTeX code,
|
||||
# and thus should be ignored.
|
||||
#
|
||||
# After the command, you may place arguments that you wish that
|
||||
# should be wiped in the process; use [] for optional arguments, {}
|
||||
# for required ones and * if the command supports an alternative
|
||||
# variant. These should be separated from the command with a colon.
|
||||
# Some commands (e.g. \cmidrule) use () to delimit and optional
|
||||
# argument and so this syntax is supported as well.
|
||||
#
|
||||
# For instance, if you would like to wipe the \newcommand command,
|
||||
# you would declare it as \newcommand:*[][]{}
|
||||
#
|
||||
# These commands may be "executed" before they're wiped, so you will
|
||||
# typically also wish to list filehandling commands and similar here.
|
||||
#
|
||||
|
||||
WipeArg
|
||||
{
|
||||
\label:{} \ref:{} \eqref:{} \vref:{} \pageref:{} \index:[]{}
|
||||
\cite:[][]{} \nocite:{}
|
||||
\input:{} \verbatiminput:[]{} \listinginput:[]{}{}
|
||||
\verbatimtabinput:[]{} \include:{} \includeonly:{}
|
||||
\bibitem:[]{}
|
||||
\cline:{} \cmidrule:[](){}
|
||||
\href:{}{}
|
||||
# Cleveref -- there are many others that could be here as well...
|
||||
\cref:*{} \cpageref:*{} \crefrange:*{}{} \cpagerefrange:*{}{}
|
||||
\Cref:*{} \Cpageref:*{} \Crefrange:*{}{} \Cpagerefrange:*{}{}
|
||||
# natbib
|
||||
\citet:*[][]{} \citep:*[][]{} \citealt:*{} \citealp:*[]{} \citeauthor:*{}
|
||||
\Citet:*[][]{} \Citep:*[][]{} \Citealt:*{} \Citealp:*[]{} \Citeauthor:{}
|
||||
\citetext:{} \citeyear:*{} \citeyearpar:{}
|
||||
# tipa which uses "
|
||||
\textipa:{}
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# These environments contain material which will be typeset as
|
||||
# mathematics by LaTeX. This turns on/off some warnings.
|
||||
#
|
||||
# We will automagically append a * to each keyword.
|
||||
#
|
||||
|
||||
MathEnvir
|
||||
{
|
||||
displaymath math eqnarray array equation
|
||||
align alignat gather flalign multline
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# These commands contain material which will be typeset as mathematics
|
||||
# by LaTeX. The commands are assumed to have one mandatory argument
|
||||
# which is in math mode. This turns on/off some warnings.
|
||||
#
|
||||
|
||||
MathCmd
|
||||
{
|
||||
\ensuremath
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# These commands contain material which will _not_ be typeset as
|
||||
# mathematics by LaTeX even if it would otherwise be in mathmode. The
|
||||
# commands are assumed to have one mandatory argument which is in text
|
||||
# mode. This turns on/off some warnings.
|
||||
#
|
||||
|
||||
TextCmd
|
||||
{
|
||||
\text \intertext \shortintertext \mbox
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# These environments contains material which contents should be
|
||||
# ignored.
|
||||
#
|
||||
# We will automagically append a * to each keyword.
|
||||
#
|
||||
|
||||
VerbEnvir
|
||||
{
|
||||
verbatim comment listing verbatimtab rawhtml errexam picture texdraw
|
||||
filecontents pgfpicture tikzpicture minted lstlisting IPA ignore
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# ChkTeX does automagically catch most abbreviations; the ones we
|
||||
# need to list here, are those which are most likely to be followed
|
||||
# by a word with an upper-case letter (that is not the beginning of a
|
||||
# new sentence).
|
||||
#
|
||||
# The case-insensitive abbreviations are not really case-insensitive,
|
||||
# it seems to be more practical to only let the first character be
|
||||
# case-insensitive, while the remaining are case-sensitive.
|
||||
#
|
||||
# To speed up the searching process somewhat, we require that these
|
||||
# end in a `.', this should not be a problem.
|
||||
#
|
||||
# Much of this work (both the abbreviations below, and the regexps
|
||||
# necessary to catch the remaining automatically) have been provided
|
||||
# by Russ Bubley, <russ@scs.leeds.ac.uk>.
|
||||
#
|
||||
|
||||
Abbrev
|
||||
{
|
||||
# Ordinals
|
||||
1st. 2nd. 3rd. 4th.
|
||||
# Titles
|
||||
Mr. Mrs. Miss. Ms. Dr. Prof. St.
|
||||
|
||||
#
|
||||
# Days
|
||||
# Mon. Tue. Wed. Thu. Fri. Sat. Sun.
|
||||
#
|
||||
# Months
|
||||
# Jan. Feb. Mar. Apr. May. Jun. Jul. Aug. Sep. Oct. Nov. Dec.
|
||||
#
|
||||
# Letters
|
||||
# Kt. Jr.
|
||||
#
|
||||
# Corporate
|
||||
# Co. Ltd.
|
||||
#
|
||||
# Addresses
|
||||
# Rd. Dr. St. Ave. Cres. Gdns. Sq. Circ. Terr. Pl. Arc. La. Clo. Ho. Est. Gn.
|
||||
#
|
||||
# Misc.
|
||||
# oe. pbab. ps. rsvp. Tx.
|
||||
}
|
||||
[
|
||||
###
|
||||
#
|
||||
# The first letter is case-insensitive in the abbrevs in this
|
||||
# list. Due to the nature of the checking algorithm used for
|
||||
# this, entries consisting of only one character will be
|
||||
# silently ignored.
|
||||
#
|
||||
##
|
||||
|
||||
# Latin
|
||||
# cf. "et al." etc. qed. qv. viz.
|
||||
#
|
||||
# Corporate
|
||||
# inc. plc.
|
||||
#
|
||||
# Misc
|
||||
# fax. pcs. qty. tel. misc.
|
||||
]
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# Commands which accent characters, meaning that \i or \j (\imath and
|
||||
# \jmath in mathmode) should be used instead of `i' and `j'
|
||||
#
|
||||
|
||||
IJAccent
|
||||
{
|
||||
\hat \check \breve \acute \grave \tilde \bar \vec \dot \ddot
|
||||
|
||||
\' \` \^ \" \~ \= \. \u \v \H \t
|
||||
|
||||
###
|
||||
#
|
||||
# The remaining accent commands (\c,\d,\b) put their accent _under_
|
||||
# the character, not above, and should thus be used with normal i's
|
||||
# and j's.
|
||||
#
|
||||
###
|
||||
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# Commands which, when the group is terminated, needs italic
|
||||
# correction.
|
||||
#
|
||||
|
||||
Italic
|
||||
{
|
||||
\it \em \sl
|
||||
\itshape \slshape
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# Commands which makes the font non-italic.
|
||||
#
|
||||
|
||||
NonItalic
|
||||
{
|
||||
\bf \rm \sf \tt \sc
|
||||
\upshape
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# Commands which put their argument into italic (and thus possibly
|
||||
# needs italic correction in the end).
|
||||
#
|
||||
# This is currently empty, since \textit, \textsl and \emph do that
|
||||
# automatically.
|
||||
#
|
||||
|
||||
ItalCmd
|
||||
{
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# These commands all have in common that a pagebreak right in front
|
||||
# of them is highly undesirable; thus there should be no space in
|
||||
# front of them.
|
||||
#
|
||||
|
||||
PostLink
|
||||
{
|
||||
\index \label
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# These commands should not have a space in front of them for various
|
||||
# reasons. I.e. much the same as POSTLINK, but produces another
|
||||
# warning.
|
||||
#
|
||||
|
||||
NotPreSpaced
|
||||
{
|
||||
\footnote \footnotemark \/
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# The commands listed here, should be prepended with a `~', as in
|
||||
# "look in table~\ref{foo}", to avoid the references being split
|
||||
# across lines.
|
||||
#
|
||||
|
||||
Linker
|
||||
{
|
||||
\ref \vref \pageref \eqref \cite
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# Commands/characters which should have \cdots in between, e.g.
|
||||
# $1+2+3+\cdots+n$.
|
||||
#
|
||||
|
||||
CenterDots
|
||||
{
|
||||
= + - \cdot \div & \times \geq \leq < >
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# Commands/characters which should have \ldots in between, e.g.
|
||||
# $1,2,3,\ldots,n$.
|
||||
#
|
||||
|
||||
LowDots
|
||||
{
|
||||
. , ;
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# In maths mode, there are certain aliases for mathematical operators
|
||||
# like sin, cos, etc. Ignore the leading backslash in the commands,
|
||||
# and so forth. You should list these below.
|
||||
#
|
||||
|
||||
MathRoman
|
||||
{
|
||||
log lg ln lim limsup liminf sin arcsin sinh cos arccos cosh tan
|
||||
arctan tanh cot coth sec csc max min sup inf arg ker dim hom det
|
||||
exp Pr gcd deg bmod pmod mod
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# These TeX commands have become unnecessary, as there are LaTeX
|
||||
# commands that does the same. Purists should thus avoid these in
|
||||
# their code.
|
||||
#
|
||||
# (These are a spell-corrected version of those lacheck uses).
|
||||
#
|
||||
|
||||
Primitives
|
||||
{
|
||||
\above \advance \catcode \chardef \closein \closeout \copy \count
|
||||
\countdef \cr \crcr \csname \delcode \dimendef \dimen \divide
|
||||
\expandafter \font \hskip \vskip \openout
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# Format: \command:characters
|
||||
#
|
||||
# We'll emit a warning if any of characters are found after the
|
||||
# command.
|
||||
#
|
||||
|
||||
NoCharNext
|
||||
{
|
||||
\left:{}$ \right:{}$
|
||||
}
|
||||
|
||||
#####################################################################
|
||||
#
|
||||
# We're killing \verb@...@ commands and the arguments of the commands
|
||||
# listed above in WipeArg by overwriting them with a string or a
|
||||
# single character.
|
||||
#
|
||||
# This should not contain an alphabetic character (in case the user
|
||||
# writes (\foo\verb@bar@), neither should it contain be one of
|
||||
# LaTeX's reserved characters (`#$%&~_^\{}'), or any parenthesis
|
||||
# character ('()[]{}'). If possible, don't use a punctuation
|
||||
# character, either, or any spacing character.
|
||||
#
|
||||
# The asterisk is also unsuitable, as some commands behave in another
|
||||
# way if they are appended with an asterisk. Which more or less
|
||||
# leaves us with the pipe.
|
||||
#
|
||||
# Please note that this may also be a _string_, which will be
|
||||
# repeated until the proper length is reached.
|
||||
#
|
||||
|
||||
VerbClear = "|"
|
||||
|
||||
#
|
||||
# All for now - have fun.
|
||||
#
|
||||
#####################################################################
|
18
.github/linters/.ecrc
vendored
18
.github/linters/.ecrc
vendored
|
@ -1,18 +0,0 @@
|
|||
{
|
||||
"Verbose": false,
|
||||
"Debug": false,
|
||||
"IgnoreDefaults": false,
|
||||
"SpacesAftertabs": false,
|
||||
"NoColor": false,
|
||||
"Exclude": [],
|
||||
"AllowedContentTypes": [],
|
||||
"PassedFiles": [],
|
||||
"Disable": {
|
||||
"EndOfLine": false,
|
||||
"Indentation": false,
|
||||
"InsertFinalNewline": false,
|
||||
"TrimTrailingWhitespace": false,
|
||||
"IndentSize": false,
|
||||
"MaxLineLength": false
|
||||
}
|
||||
}
|
3
.github/linters/.flake8
vendored
3
.github/linters/.flake8
vendored
|
@ -1,3 +0,0 @@
|
|||
[flake8]
|
||||
max-line-length = 120
|
||||
extend-ignore = E203
|
25
.github/linters/.htmlhintrc
vendored
25
.github/linters/.htmlhintrc
vendored
|
@ -1,25 +0,0 @@
|
|||
{
|
||||
"tagname-lowercase": true,
|
||||
"attr-lowercase": true,
|
||||
"attr-value-double-quotes": true,
|
||||
"attr-value-not-empty": false,
|
||||
"attr-no-duplication": true,
|
||||
"doctype-first": true,
|
||||
"tag-pair": true,
|
||||
"tag-self-close": false,
|
||||
"spec-char-escape": true,
|
||||
"id-unique": true,
|
||||
"src-not-empty": true,
|
||||
"title-require": true,
|
||||
"alt-require": true,
|
||||
"doctype-html5": true,
|
||||
"id-class-value": "dash",
|
||||
"style-disabled": false,
|
||||
"inline-style-disabled": false,
|
||||
"inline-script-disabled": false,
|
||||
"space-tab-mixed-disabled": "space",
|
||||
"id-class-ad-disabled": false,
|
||||
"href-abs-or-rel": false,
|
||||
"attr-unsafe-chars": true,
|
||||
"head-script-disabled": true
|
||||
}
|
2
.github/linters/.isort.cfg
vendored
2
.github/linters/.isort.cfg
vendored
|
@ -1,2 +0,0 @@
|
|||
[settings]
|
||||
profile=black
|
1
.github/linters/.lintr
vendored
1
.github/linters/.lintr
vendored
|
@ -1 +0,0 @@
|
|||
linters: linters_with_defaults(object_usage_linter = NULL)
|
1
.github/linters/.luacheckrc
vendored
1
.github/linters/.luacheckrc
vendored
|
@ -1 +0,0 @@
|
|||
--std max
|
9
.github/linters/.openapirc.yml
vendored
9
.github/linters/.openapirc.yml
vendored
|
@ -1,9 +0,0 @@
|
|||
---
|
||||
|
||||
##########################
|
||||
##########################
|
||||
## OpenAPI Linter rules ##
|
||||
##########################
|
||||
##########################
|
||||
|
||||
extends: spectral:oas
|
2
.github/linters/.perlcriticrc
vendored
2
.github/linters/.perlcriticrc
vendored
|
@ -1,2 +0,0 @@
|
|||
severity = 1
|
||||
verbose = %f:%l:%c [%s %p] %m near '%r'\n
|
8
.github/linters/.protolintrc.yml
vendored
8
.github/linters/.protolintrc.yml
vendored
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
# Lint directives.
|
||||
lint:
|
||||
# Linter rules.
|
||||
# Run `protolint list` to see all available rules.
|
||||
rules:
|
||||
# Set the default to all linters.
|
||||
all_default: false
|
0
.github/linters/.python-black
vendored
0
.github/linters/.python-black
vendored
470
.github/linters/.python-lint
vendored
470
.github/linters/.python-lint
vendored
|
@ -1,470 +0,0 @@
|
|||
[MASTER]
|
||||
errors-only=
|
||||
|
||||
# A comma-separated list of package or module names from where C extensions may
|
||||
# be loaded. Extensions are loading into the active Python interpreter and may
|
||||
# run arbitrary code
|
||||
extension-pkg-whitelist=
|
||||
|
||||
# Add files or directories to the blacklist. They should be base names, not
|
||||
# paths.
|
||||
ignore=CVS
|
||||
|
||||
# Add files or directories matching the regex patterns to the blacklist. The
|
||||
# regex matches against base names, not paths.
|
||||
ignore-patterns=
|
||||
|
||||
# Python code to execute, usually for sys.path manipulation such as
|
||||
# pygtk.require().
|
||||
#init-hook=
|
||||
|
||||
# Use multiple processes to speed up Pylint.
|
||||
jobs=1
|
||||
|
||||
# List of plugins (as comma separated values of python modules names) to load,
|
||||
# usually to register additional checkers.
|
||||
load-plugins=
|
||||
|
||||
# Pickle collected data for later comparisons.
|
||||
persistent=yes
|
||||
|
||||
# Specify a configuration file.
|
||||
#rcfile=
|
||||
|
||||
# When enabled, pylint would attempt to guess common misconfiguration and emit
|
||||
# user-friendly hints instead of false-positive error messages
|
||||
suggestion-mode=yes
|
||||
|
||||
# Allow loading of arbitrary C extensions. Extensions are imported into the
|
||||
# active Python interpreter and may run arbitrary code.
|
||||
unsafe-load-any-extension=no
|
||||
|
||||
|
||||
[MESSAGES CONTROL]
|
||||
|
||||
# Only show warnings with the listed confidence levels. Leave empty to show
|
||||
# all. Valid levels: HIGH, INFERENCE, INFERENCE_FAILURE, UNDEFINED
|
||||
confidence=
|
||||
|
||||
# Disable the message, report, category or checker with the given id(s). You
|
||||
# can either give multiple identifiers separated by comma (,) or put this
|
||||
# option multiple times (only on the command line, not in the configuration
|
||||
# file where it should appear only once).You can also use "--disable=all" to
|
||||
# disable everything first and then reenable specific checks. For example, if
|
||||
# you want to run only the similarities checker, you can use "--disable=all
|
||||
# --enable=similarities". If you want to run only the classes checker, but have
|
||||
# no Warning level messages displayed, use"--disable=all --enable=classes
|
||||
# --disable=W"
|
||||
disable=raw-checker-failed,
|
||||
bad-inline-option,
|
||||
locally-disabled,
|
||||
file-ignored,
|
||||
suppressed-message,
|
||||
useless-suppression,
|
||||
deprecated-pragma,
|
||||
|
||||
# Enable the message, report, category or checker with the given id(s). You can
|
||||
# either give multiple identifier separated by comma (,) or put this option
|
||||
# multiple time (only on the command line, not in the configuration file where
|
||||
# it should appear only once). See also the "--disable" option for examples.
|
||||
enable=c-extension-no-member
|
||||
|
||||
|
||||
[REPORTS]
|
||||
|
||||
# Python expression which should return a note less than 10 (10 is the highest
|
||||
# note). You have access to the variables errors warning, statement which
|
||||
# respectively contain the number of errors / warnings messages and the total
|
||||
# number of statements analyzed. This is used by the global evaluation report
|
||||
# (RP0004).
|
||||
evaluation=10.0 - ((float(5 * error + warning + refactor + convention) / statement) * 10)
|
||||
|
||||
# Template used to display messages. This is a python new-style format string
|
||||
# used to format the message information. See doc for all details
|
||||
#msg-template=
|
||||
|
||||
# Set the output format. Available formats are text, parseable, colorized, json
|
||||
# and msvs (visual studio).You can also give a reporter class, eg
|
||||
# mypackage.mymodule.MyReporterClass.
|
||||
output-format=text
|
||||
|
||||
# Tells whether to display a full report or only the messages
|
||||
reports=no
|
||||
|
||||
# Activate the evaluation score.
|
||||
score=no
|
||||
|
||||
|
||||
[REFACTORING]
|
||||
|
||||
# Maximum number of nested blocks for function / method body
|
||||
max-nested-blocks=5
|
||||
|
||||
# Complete name of functions that never returns. When checking for
|
||||
# inconsistent-return-statements if a never returning function is called then
|
||||
# it will be considered as an explicit return statement and no message will be
|
||||
# printed.
|
||||
never-returning-functions=optparse.Values,sys.exit
|
||||
|
||||
|
||||
[VARIABLES]
|
||||
|
||||
# List of additional names supposed to be defined in builtins. Remember that
|
||||
# you should avoid to define new builtins when possible.
|
||||
additional-builtins=
|
||||
|
||||
# Tells whether unused global variables should be treated as a violation.
|
||||
allow-global-unused-variables=yes
|
||||
|
||||
# List of strings which can identify a callback function by name. A callback
|
||||
# name must start or end with one of those strings.
|
||||
callbacks=cb_,
|
||||
_cb
|
||||
|
||||
# A regular expression matching the name of dummy variables (i.e. expectedly
|
||||
# not used).
|
||||
dummy-variables-rgx=_+$|(_[a-zA-Z0-9_]*[a-zA-Z0-9]+?$)|dummy|^ignored_|^unused_
|
||||
|
||||
# Argument names that match this expression will be ignored. Default to name
|
||||
# with leading underscore
|
||||
ignored-argument-names=_.*|^ignored_|^unused_
|
||||
|
||||
# Tells whether we should check for unused import in __init__ files.
|
||||
init-import=no
|
||||
|
||||
# List of qualified module names which can have objects that can redefine
|
||||
# builtins.
|
||||
redefining-builtins-modules=six.moves,past.builtins,future.builtins
|
||||
|
||||
|
||||
[LOGGING]
|
||||
|
||||
# Logging modules to check that the string format arguments are in logging
|
||||
# function parameter format
|
||||
logging-modules=logging
|
||||
|
||||
|
||||
[TYPECHECK]
|
||||
|
||||
# List of decorators that produce context managers, such as
|
||||
# contextlib.contextmanager. Add to this list to register other decorators that
|
||||
# produce valid context managers.
|
||||
contextmanager-decorators=contextlib.contextmanager
|
||||
|
||||
# List of members which are set dynamically and missed by pylint inference
|
||||
# system, and so shouldn't trigger E1101 when accessed. Python regular
|
||||
# expressions are accepted.
|
||||
generated-members=
|
||||
|
||||
# Tells whether missing members accessed in mixin class should be ignored. A
|
||||
# mixin class is detected if its name ends with "mixin" (case insensitive).
|
||||
ignore-mixin-members=yes
|
||||
|
||||
# This flag controls whether pylint should warn about no-member and similar
|
||||
# checks whenever an opaque object is returned when inferring. The inference
|
||||
# can return multiple potential results while evaluating a Python object, but
|
||||
# some branches might not be evaluated, which results in partial inference. In
|
||||
# that case, it might be useful to still emit no-member and other checks for
|
||||
# the rest of the inferred objects.
|
||||
ignore-on-opaque-inference=yes
|
||||
|
||||
# List of class names for which member attributes should not be checked (useful
|
||||
# for classes with dynamically set attributes). This supports the use of
|
||||
# qualified names.
|
||||
ignored-classes=optparse.Values,thread._local,_thread._local
|
||||
|
||||
# List of module names for which member attributes should not be checked
|
||||
# (useful for modules/projects where namespaces are manipulated during runtime
|
||||
# and thus existing member attributes cannot be deduced by static analysis. It
|
||||
# supports qualified module names, as well as Unix pattern matching.
|
||||
ignored-modules=
|
||||
|
||||
# Show a hint with possible names when a member name was not found. The aspect
|
||||
# of finding the hint is based on edit distance.
|
||||
missing-member-hint=yes
|
||||
|
||||
# The minimum edit distance a name should have in order to be considered a
|
||||
# similar match for a missing member name.
|
||||
missing-member-hint-distance=1
|
||||
|
||||
# The total number of similar names that should be taken in consideration when
|
||||
# showing a hint for a missing member.
|
||||
missing-member-max-choices=1
|
||||
|
||||
|
||||
[MISCELLANEOUS]
|
||||
|
||||
# List of note tags to take in consideration, separated by a comma.
|
||||
notes=FIXME,
|
||||
XXX,
|
||||
TODO
|
||||
|
||||
|
||||
[BASIC]
|
||||
|
||||
# Naming style matching correct argument names
|
||||
argument-naming-style=snake_case
|
||||
|
||||
# Regular expression matching correct argument names. Overrides argument-
|
||||
# naming-style
|
||||
#argument-rgx=
|
||||
|
||||
# Naming style matching correct attribute names
|
||||
attr-naming-style=snake_case
|
||||
|
||||
# Regular expression matching correct attribute names. Overrides attr-naming-
|
||||
# style
|
||||
#attr-rgx=
|
||||
|
||||
# Bad variable names which should always be refused, separated by a comma
|
||||
bad-names=foo,
|
||||
bar,
|
||||
baz,
|
||||
toto,
|
||||
tutu,
|
||||
tata
|
||||
|
||||
# Naming style matching correct class attribute names
|
||||
class-attribute-naming-style=any
|
||||
|
||||
# Regular expression matching correct class attribute names. Overrides class-
|
||||
# attribute-naming-style
|
||||
#class-attribute-rgx=
|
||||
|
||||
# Naming style matching correct class names
|
||||
class-naming-style=PascalCase
|
||||
|
||||
# Regular expression matching correct class names. Overrides class-naming-style
|
||||
#class-rgx=
|
||||
|
||||
# Naming style matching correct constant names
|
||||
const-naming-style=UPPER_CASE
|
||||
|
||||
# Regular expression matching correct constant names. Overrides const-naming-
|
||||
# style
|
||||
#const-rgx=
|
||||
|
||||
# Minimum line length for functions/classes that require docstrings, shorter
|
||||
# ones are exempt.
|
||||
docstring-min-length=-1
|
||||
|
||||
# Naming style matching correct function names
|
||||
function-naming-style=snake_case
|
||||
|
||||
# Regular expression matching correct function names. Overrides function-
|
||||
# naming-style
|
||||
#function-rgx=
|
||||
|
||||
# Good variable names which should always be accepted, separated by a comma
|
||||
good-names=i,
|
||||
j,
|
||||
k,
|
||||
ex,
|
||||
Run,
|
||||
_
|
||||
|
||||
# Include a hint for the correct naming format with invalid-name
|
||||
include-naming-hint=no
|
||||
|
||||
# Naming style matching correct inline iteration names
|
||||
inlinevar-naming-style=any
|
||||
|
||||
# Regular expression matching correct inline iteration names. Overrides
|
||||
# inlinevar-naming-style
|
||||
#inlinevar-rgx=
|
||||
|
||||
# Naming style matching correct method names
|
||||
method-naming-style=snake_case
|
||||
|
||||
# Regular expression matching correct method names. Overrides method-naming-
|
||||
# style
|
||||
#method-rgx=
|
||||
|
||||
# Naming style matching correct module names
|
||||
module-naming-style=snake_case
|
||||
|
||||
# Regular expression matching correct module names. Overrides module-naming-
|
||||
# style
|
||||
#module-rgx=
|
||||
|
||||
# Colon-delimited sets of names that determine each other's naming style when
|
||||
# the name regexes allow several styles.
|
||||
name-group=
|
||||
|
||||
# Regular expression which should only match function or class names that do
|
||||
# not require a docstring.
|
||||
no-docstring-rgx=^_
|
||||
|
||||
# List of decorators that produce properties, such as abc.abstractproperty. Add
|
||||
# to this list to register other decorators that produce valid properties.
|
||||
property-classes=abc.abstractproperty
|
||||
|
||||
# Naming style matching correct variable names
|
||||
variable-naming-style=snake_case
|
||||
|
||||
# Regular expression matching correct variable names. Overrides variable-
|
||||
# naming-style
|
||||
#variable-rgx=
|
||||
|
||||
|
||||
[SPELLING]
|
||||
|
||||
# Limits count of emitted suggestions for spelling mistakes
|
||||
max-spelling-suggestions=4
|
||||
|
||||
# Spelling dictionary name. Available dictionaries: none. To make it working
|
||||
# install python-enchant package.
|
||||
spelling-dict=
|
||||
|
||||
# List of comma separated words that should not be checked.
|
||||
spelling-ignore-words=
|
||||
|
||||
# A path to a file that contains private dictionary; one word per line.
|
||||
spelling-private-dict-file=
|
||||
|
||||
# Tells whether to store unknown words to indicated private dictionary in
|
||||
# --spelling-private-dict-file option instead of raising a message.
|
||||
spelling-store-unknown-words=no
|
||||
|
||||
|
||||
[FORMAT]
|
||||
|
||||
# Expected format of line ending, e.g. empty (any line ending), LF or CRLF.
|
||||
expected-line-ending-format=
|
||||
|
||||
# Regexp for a line that is allowed to be longer than the limit.
|
||||
ignore-long-lines=^\s*(# )?<?https?://\S+>?$
|
||||
|
||||
# Number of spaces of indent required inside a hanging or continued line.
|
||||
indent-after-paren=4
|
||||
|
||||
# String used as indentation unit. This is usually " " (4 spaces) or "\t" (1
|
||||
# tab).
|
||||
indent-string=' '
|
||||
|
||||
# Maximum number of characters on a single line.
|
||||
max-line-length=100
|
||||
|
||||
# Maximum number of lines in a module
|
||||
max-module-lines=1000
|
||||
|
||||
# Allow the body of a class to be on the same line as the declaration if body
|
||||
# contains single statement.
|
||||
single-line-class-stmt=no
|
||||
|
||||
# Allow the body of an if to be on the same line as the test if there is no
|
||||
# else.
|
||||
single-line-if-stmt=no
|
||||
|
||||
|
||||
[SIMILARITIES]
|
||||
|
||||
# Ignore comments when computing similarities.
|
||||
ignore-comments=yes
|
||||
|
||||
# Ignore docstrings when computing similarities.
|
||||
ignore-docstrings=yes
|
||||
|
||||
# Ignore imports when computing similarities.
|
||||
ignore-imports=no
|
||||
|
||||
# Minimum lines number of a similarity.
|
||||
min-similarity-lines=4
|
||||
|
||||
|
||||
[DESIGN]
|
||||
|
||||
# Maximum number of arguments for function / method
|
||||
max-args=5
|
||||
|
||||
# Maximum number of attributes for a class (see R0902).
|
||||
max-attributes=7
|
||||
|
||||
# Maximum number of boolean expressions in a if statement
|
||||
max-bool-expr=5
|
||||
|
||||
# Maximum number of branch for function / method body
|
||||
max-branches=12
|
||||
|
||||
# Maximum number of locals for function / method body
|
||||
max-locals=15
|
||||
|
||||
# Maximum number of parents for a class (see R0901).
|
||||
max-parents=7
|
||||
|
||||
# Maximum number of public methods for a class (see R0904).
|
||||
max-public-methods=20
|
||||
|
||||
# Maximum number of return / yield for function / method body
|
||||
max-returns=6
|
||||
|
||||
# Maximum number of statements in function / method body
|
||||
max-statements=50
|
||||
|
||||
# Minimum number of public methods for a class (see R0903).
|
||||
min-public-methods=2
|
||||
|
||||
|
||||
[IMPORTS]
|
||||
|
||||
# Allow wildcard imports from modules that define __all__.
|
||||
allow-wildcard-with-all=no
|
||||
|
||||
# Analyse import fallback blocks. This can be used to support both Python 2 and
|
||||
# 3 compatible code, which means that the block might have code that exists
|
||||
# only in one or another interpreter, leading to false positives when analysed.
|
||||
analyse-fallback-blocks=no
|
||||
|
||||
# Deprecated modules which should not be used, separated by a comma
|
||||
deprecated-modules=regsub,
|
||||
TERMIOS,
|
||||
Bastion,
|
||||
rexec
|
||||
|
||||
# Create a graph of external dependencies in the given file (report RP0402 must
|
||||
# not be disabled)
|
||||
ext-import-graph=
|
||||
|
||||
# Create a graph of every (i.e. internal and external) dependencies in the
|
||||
# given file (report RP0402 must not be disabled)
|
||||
import-graph=
|
||||
|
||||
# Create a graph of internal dependencies in the given file (report RP0402 must
|
||||
# not be disabled)
|
||||
int-import-graph=
|
||||
|
||||
# Force import order to recognize a module as part of the standard
|
||||
# compatibility libraries.
|
||||
known-standard-library=
|
||||
|
||||
# Force import order to recognize a module as part of a third party library.
|
||||
known-third-party=enchant
|
||||
|
||||
|
||||
[CLASSES]
|
||||
|
||||
# List of method names used to declare (i.e. assign) instance attributes.
|
||||
defining-attr-methods=__init__,
|
||||
__new__,
|
||||
setUp
|
||||
|
||||
# List of member names, which should be excluded from the protected access
|
||||
# warning.
|
||||
exclude-protected=_asdict,
|
||||
_fields,
|
||||
_replace,
|
||||
_source,
|
||||
_make
|
||||
|
||||
# List of valid names for the first argument in a class method.
|
||||
valid-classmethod-first-arg=cls
|
||||
|
||||
# List of valid names for the first argument in a metaclass class method.
|
||||
valid-metaclass-classmethod-first-arg=mcs
|
||||
|
||||
|
||||
[EXCEPTIONS]
|
||||
|
||||
# Exceptions that will emit a warning when being caught. Defaults to
|
||||
# "Exception"
|
||||
overgeneral-exceptions=Exception
|
8
.github/linters/.ruby-lint.yml
vendored
8
.github/linters/.ruby-lint.yml
vendored
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
#######################
|
||||
# Rubocop Config file #
|
||||
#######################
|
||||
|
||||
inherit_gem:
|
||||
rubocop-github:
|
||||
- config/default.yml
|
3
.github/linters/.sql-config.json
vendored
3
.github/linters/.sql-config.json
vendored
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"_comment": "details can be found at: https://sql-lint.readthedocs.io/en/latest/files/configuration.html"
|
||||
}
|
18
.github/linters/.sqlfluff
vendored
18
.github/linters/.sqlfluff
vendored
|
@ -1,18 +0,0 @@
|
|||
## This /.sqlfluff file can be used to configure the SQLFluff linter when
|
||||
## used via the Super Linter. Copy it to the .github/linters folder of
|
||||
## your repo, and uncomment the necessary lines to configure the Super Linter.
|
||||
##
|
||||
## IMPORTANT NOTE: The Super Linter configuration file for SQLFluff
|
||||
## supersedes any local configuration files you might have in within your
|
||||
## codebase. For this reason it should only be used when you want the same
|
||||
## configuration for your entire code base. If you need different configuration
|
||||
## in different folders you must leave this config commented out, and instead
|
||||
## manage all your config files within your code base rather than in the
|
||||
## .github/linters folder
|
||||
##
|
||||
## Configuration options are described here:
|
||||
## https://docs.sqlfluff.com/en/stable/configuration.html
|
||||
##
|
||||
|
||||
[sqlfluff]
|
||||
#dialect = ansi
|
3
.github/linters/.stylelintrc.json
vendored
3
.github/linters/.stylelintrc.json
vendored
|
@ -1,3 +0,0 @@
|
|||
{
|
||||
"extends": "stylelint-config-standard"
|
||||
}
|
3
.github/linters/actionlint.yaml
vendored
3
.github/linters/actionlint.yaml
vendored
|
@ -1,3 +0,0 @@
|
|||
self-hosted-runner:
|
||||
labels:
|
||||
- ubuntu-20.04-8core-sl
|
|
@ -1,5 +1,2 @@
|
|||
---
|
||||
self-hosted-runner:
|
||||
# Labels of self-hosted runner in array of string
|
||||
# labels:
|
||||
# - mylabel
|
||||
...
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
a = 1
|
||||
b = 2
|
||||
c = a + b
|
||||
print(c)
|
||||
"""Test Python file for Pylint."""
|
||||
|
||||
A = 1
|
||||
B = 2
|
||||
C = A + B
|
||||
print(C)
|
||||
|
|
Loading…
Reference in a new issue