Adding upstream version 2.2.1.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
1d36de0179
commit
757b718eff
129 changed files with 16110 additions and 0 deletions
144
test/vermin-tools.conf
Normal file
144
test/vermin-tools.conf
Normal file
|
@ -0,0 +1,144 @@
|
|||
[vermin]
|
||||
### Quiet mode ###
|
||||
# It only prints the final versions verdict.
|
||||
#
|
||||
#quiet = no
|
||||
|
||||
### Verbosity ###
|
||||
# Verbosity level 1 to 4. -v, -vv, -vvv, and -vvvv shows increasingly more information. Turned off
|
||||
# at level 0.
|
||||
#
|
||||
#verbose = 0
|
||||
verbose = 3
|
||||
|
||||
### Dump AST node visits ###
|
||||
# Only for debugging.
|
||||
#
|
||||
#print_visits = no
|
||||
|
||||
### Matching target versions ###
|
||||
# Target version that files must abide by. Can be specified once or twice.
|
||||
# A '-' can be appended to match target version or smaller, like '3.5-'.
|
||||
# If not met Vermin will exit with code 1.
|
||||
# Note that the amount of target versions must match the amount of minimum required versions
|
||||
# detected.
|
||||
#
|
||||
# Examples:
|
||||
#targets = 2.6-
|
||||
#targets = 2.3
|
||||
# 3,4
|
||||
#targets = 2,7
|
||||
# 3,9-
|
||||
targets = 3.8
|
||||
|
||||
### Concurrent processing ###
|
||||
# Use N concurrent processes to detect and analyze files. Defaults to 0, meaning all cores
|
||||
# available.
|
||||
#
|
||||
#processes = 0
|
||||
|
||||
### Ignore incompatible versions and warnings ###
|
||||
# However, if no compatible versions are found then incompatible versions will be shown in the end
|
||||
# to not have an absence of results.
|
||||
#
|
||||
#ignore_incomp = no
|
||||
|
||||
### Lax mode ###
|
||||
# It ignores conditionals (if, ternary, for, async for, while, with, try, bool op) on AST traversal,
|
||||
# which can be useful when minimum versions are detected in conditionals that it is known does not
|
||||
# affect the results.
|
||||
#
|
||||
# Note: It is better to use excludes or `# novermin`/`# novm` in the source code instead.
|
||||
#
|
||||
#lax = no
|
||||
|
||||
### Hidden analysis ###
|
||||
# Analyze 'hidden' files and folders starting with '.' (ignored by default when not specified
|
||||
# directly).
|
||||
#
|
||||
#analyze_hidden = no
|
||||
|
||||
### Tips ###
|
||||
# Possibly show helpful tips at the end, like those relating to backports or lax mode.
|
||||
#
|
||||
#show_tips = yes
|
||||
show_tips = no
|
||||
|
||||
### Pessimistic mode ###
|
||||
# Syntax errors are interpreted as the major Python version in use being incompatible.
|
||||
#
|
||||
#pessimistic = no
|
||||
|
||||
### Exclusions ###
|
||||
# Exclude full names, like 'email.parser.FeedParser', from analysis. Useful to ignore conditional
|
||||
# logic that can trigger incompatible results. It's more fine grained than lax mode.
|
||||
#
|
||||
# Exclude 'foo.bar.baz' module/member: foo.bar.baz
|
||||
# Exclude 'foo' kwarg: somemodule.func(foo)
|
||||
# Exclude 'bar' codecs error handler: ceh=bar
|
||||
# Exclude 'baz' codecs encoding: ce=baz
|
||||
#
|
||||
# Example exclusions:
|
||||
#exclusions =
|
||||
# email.parser.FeedParser
|
||||
# argparse.ArgumentParser(allow_abbrev)
|
||||
exclusions =
|
||||
importlib.resources
|
||||
importlib.resources.files
|
||||
importlib_resources
|
||||
importlib_resources.files
|
||||
|
||||
### Backports ###
|
||||
# Some features are sometimes backported into packages, in repositories such as PyPi, that are
|
||||
# widely used but aren't in the standard language. If such a backport is specified as being used,
|
||||
# the results will reflect that instead.
|
||||
#
|
||||
# Get full list via `--help`.
|
||||
#
|
||||
# Example backports:
|
||||
#backports =
|
||||
# typing
|
||||
# argparse
|
||||
|
||||
### Features ###
|
||||
# Some features are disabled by default due to being unstable but can be enabled explicitly.
|
||||
#
|
||||
# Get full list via `--help`.
|
||||
#
|
||||
# Example features:
|
||||
#features =
|
||||
# fstring-self-doc
|
||||
|
||||
### Format ###
|
||||
# Format to show results and output in.
|
||||
#
|
||||
# Get full list via `--help`.
|
||||
#
|
||||
#format = default
|
||||
|
||||
### Annotations evaluation ###
|
||||
# Instructs parser that annotations will be manually evaluated in code, which changes minimum
|
||||
# versions in certain cases. Otherwise, function and variable annotations are not evaluated at
|
||||
# definition time. Apply this argument if code uses `typing.get_type_hints` or
|
||||
# `eval(obj.__annotations__)` or otherwise forces evaluation of annotations.
|
||||
#
|
||||
#eval_annotations = no
|
||||
|
||||
### Violations ###
|
||||
#
|
||||
#only_show_violations = no
|
||||
only_show_violations = yes
|
||||
|
||||
### Parse comments ###
|
||||
# Whether or not to parse comments, searching for "# novm" and "# novermin" to exclude anslysis of
|
||||
# specific lines. If these comments aren't used in a particular code base, not parsing them can
|
||||
# sometimes yield a speedup of 30-40%+.
|
||||
#
|
||||
#parse_comments = yes
|
||||
parse_comments = no
|
||||
|
||||
### Scan symlink folders ###
|
||||
# Scan symlinks to folders to include in analysis. Symlinks to non-folders or top-level folders will
|
||||
# always be scanned.
|
||||
#
|
||||
#scan_symlink_folders = no
|
Loading…
Add table
Add a link
Reference in a new issue