diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..77d2d87 --- /dev/null +++ b/.coveragerc @@ -0,0 +1,7 @@ +[run] +branch = True + +[report] +exclude_lines = + \.\.\. + pass diff --git a/.pylintrc b/.pylintrc new file mode 100644 index 0000000..a1f7205 --- /dev/null +++ b/.pylintrc @@ -0,0 +1,55 @@ +[MESSAGES CONTROL] + +# 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=logging-fstring-interpolation + ,logging-format-interpolation + ,bad-continuation + ,line-too-long + ,ungrouped-imports + ,typecheck + ,wrong-import-order + ,wrong-import-position + + +[REPORTS] + +# 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=colorized + + +[BASIC] + +# Good variable names which should always be accepted, separated by a comma +good-names=_,ip,T + + +[MISCELLANEOUS] +# Not FIXME or TODO +notes=XXX + + +[SIMILARITIES] + +# Ignore imports when computing similarities. +ignore-imports=yes + +# Ignore function signatures when computing similarities. +ignore-signatures=yes + +# Minimum lines number of a similarity. +min-similarity-lines=10 + +[DESIGN] + +# Maximum number of arguments for function / method +max-args=7 diff --git a/poetry.lock b/poetry.lock new file mode 100644 index 0000000..8cd980c --- /dev/null +++ b/poetry.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Poetry 1.4.1 and should not be changed by hand. +package = [] + +[metadata] +lock-version = "2.0" +python-versions = "^3.7" +content-hash = "1cecdb5c4f27a43e0bfaed3c063b275782ac693a803e2b2ecd482fcb6a737d5e" diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..0828236 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,15 @@ +[tool.poetry] +name = "spectrepy" +version = "0.1.0" +description = "Python bindings for the Spectre Password Manager" +authors = ["Ethan Paul <24588726+enpaul@users.noreply.github.com>"] +license = "MIT" +readme = "README.md" + +[tool.poetry.dependencies] +python = "^3.7" + + +[build-system] +requires = ["poetry-core"] +build-backend = "poetry.core.masonry.api"