moved scaffolding files to .pscaffold
This commit is contained in:
parent
9bfa8f62fc
commit
f67825e76c
6 changed files with 29 additions and 153 deletions
106
.gitignore
vendored
106
.gitignore
vendored
|
@ -1,106 +0,0 @@
|
||||||
# Byte-compiled / optimized / DLL files
|
|
||||||
__pycache__/
|
|
||||||
*.py[cod]
|
|
||||||
*$py.class
|
|
||||||
|
|
||||||
# C extensions
|
|
||||||
*.so
|
|
||||||
|
|
||||||
# Distribution / packaging
|
|
||||||
.Python
|
|
||||||
build/
|
|
||||||
develop-eggs/
|
|
||||||
dist/
|
|
||||||
downloads/
|
|
||||||
eggs/
|
|
||||||
.eggs/
|
|
||||||
lib/
|
|
||||||
lib64/
|
|
||||||
parts/
|
|
||||||
sdist/
|
|
||||||
var/
|
|
||||||
wheels/
|
|
||||||
*.egg-info/
|
|
||||||
.installed.cfg
|
|
||||||
*.egg
|
|
||||||
MANIFEST
|
|
||||||
|
|
||||||
# PyInstaller
|
|
||||||
# Usually these files are written by a python script from a template
|
|
||||||
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
||||||
*.manifest
|
|
||||||
*.spec
|
|
||||||
|
|
||||||
# Installer logs
|
|
||||||
pip-log.txt
|
|
||||||
pip-delete-this-directory.txt
|
|
||||||
|
|
||||||
# Unit test / coverage reports
|
|
||||||
htmlcov/
|
|
||||||
.tox/
|
|
||||||
.coverage
|
|
||||||
.coverage.*
|
|
||||||
.cache
|
|
||||||
nosetests.xml
|
|
||||||
coverage.xml
|
|
||||||
*.cover
|
|
||||||
.hypothesis/
|
|
||||||
.pytest_cache/
|
|
||||||
|
|
||||||
# Translations
|
|
||||||
*.mo
|
|
||||||
*.pot
|
|
||||||
|
|
||||||
# Django stuff:
|
|
||||||
*.log
|
|
||||||
local_settings.py
|
|
||||||
db.sqlite3
|
|
||||||
|
|
||||||
# Flask stuff:
|
|
||||||
instance/
|
|
||||||
.webassets-cache
|
|
||||||
|
|
||||||
# Scrapy stuff:
|
|
||||||
.scrapy
|
|
||||||
|
|
||||||
# Sphinx documentation
|
|
||||||
docs/_build/
|
|
||||||
|
|
||||||
# PyBuilder
|
|
||||||
target/
|
|
||||||
|
|
||||||
# Jupyter Notebook
|
|
||||||
.ipynb_checkpoints
|
|
||||||
|
|
||||||
# pyenv
|
|
||||||
.python-version
|
|
||||||
|
|
||||||
# celery beat schedule file
|
|
||||||
celerybeat-schedule
|
|
||||||
|
|
||||||
# SageMath parsed files
|
|
||||||
*.sage.py
|
|
||||||
|
|
||||||
# Environments
|
|
||||||
.env
|
|
||||||
.venv
|
|
||||||
env/
|
|
||||||
venv/
|
|
||||||
ENV/
|
|
||||||
env.bak/
|
|
||||||
venv.bak/
|
|
||||||
|
|
||||||
# Spyder project settings
|
|
||||||
.spyderproject
|
|
||||||
.spyproject
|
|
||||||
|
|
||||||
# Rope project settings
|
|
||||||
.ropeproject
|
|
||||||
|
|
||||||
# mkdocs documentation
|
|
||||||
/site
|
|
||||||
|
|
||||||
# mypy
|
|
||||||
.mypy_cache/
|
|
||||||
/tags
|
|
||||||
/tags.*
|
|
1
.gitignore
vendored
Symbolic link
1
.gitignore
vendored
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
.pscaffold/.gitignore
|
22
.gitlab-ci.yml
Normal file
22
.gitlab-ci.yml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
image: python:alpine
|
||||||
|
|
||||||
|
test:pylama:
|
||||||
|
stage: test
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
- develop
|
||||||
|
before_script:
|
||||||
|
- if test -r requirements.txt; then pip install -r requirements.txt; fi
|
||||||
|
script:
|
||||||
|
if test -x "$(which pylama)"; then pylama *.py; fi
|
||||||
|
|
||||||
|
test:pytest:
|
||||||
|
stage: test
|
||||||
|
only:
|
||||||
|
- master
|
||||||
|
- develop
|
||||||
|
before_script:
|
||||||
|
- if test -r requirements.txt; then pip install -r requirements.txt; fi
|
||||||
|
script:
|
||||||
|
if test -x "$(which pytest)"; then pytest .; fi
|
||||||
|
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule ".pscaffold"]
|
||||||
|
path = .pscaffold
|
||||||
|
url = ../pscaffold.git
|
1
.pscaffold
Submodule
1
.pscaffold
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit c8532548825b9f01601e096e8286ee011dbfac8e
|
33
.style.yapf
33
.style.yapf
|
@ -1,33 +0,0 @@
|
||||||
[style]
|
|
||||||
|
|
||||||
# Insert a blank line before a module docstring.
|
|
||||||
blank_line_before_module_docstring=True
|
|
||||||
|
|
||||||
# The column limit.
|
|
||||||
column_limit=120
|
|
||||||
|
|
||||||
# Split before the '.' if we need to split a longer expression:
|
|
||||||
#
|
|
||||||
# foo = ('This is a really long string: {}, {}, {}, {}'.format(a, b, c, d))
|
|
||||||
#
|
|
||||||
# would reformat to something like:
|
|
||||||
#
|
|
||||||
# foo = ('This is a really long string: {}, {}, {}, {}'
|
|
||||||
# .format(a, b, c, d))
|
|
||||||
split_before_dot=True
|
|
||||||
|
|
||||||
# Set to True to split list comprehensions and generators that have
|
|
||||||
# non-trivial expressions and multiple clauses before each of these
|
|
||||||
# clauses. For example:
|
|
||||||
#
|
|
||||||
# result = [
|
|
||||||
# a_long_var + 100 for a_long_var in xrange(1000)
|
|
||||||
# if a_long_var % 10]
|
|
||||||
#
|
|
||||||
# would reformat to something like:
|
|
||||||
#
|
|
||||||
# result = [
|
|
||||||
# a_long_var + 100
|
|
||||||
# for a_long_var in xrange(1000)
|
|
||||||
# if a_long_var % 10]
|
|
||||||
split_complex_comprehension=True
|
|
1
.style.yapf
Symbolic link
1
.style.yapf
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
.pscaffold/.style.yapf
|
14
pylama.ini
14
pylama.ini
|
@ -1,14 +0,0 @@
|
||||||
[pylama]
|
|
||||||
format = pylint
|
|
||||||
linters = mccabe,pep257,pydocstyle,pep8,pycodestyle,pyflakes,pylint,isort,mypy
|
|
||||||
ignore = D203
|
|
||||||
skip=.env/*
|
|
||||||
|
|
||||||
[pylama:pycodestyle]
|
|
||||||
max_line_length = 120
|
|
||||||
|
|
||||||
[pylama:pep8]
|
|
||||||
max_line_length = 120
|
|
||||||
|
|
||||||
[pylama:pylint]
|
|
||||||
max_line_length = 120
|
|
1
pylama.ini
Symbolic link
1
pylama.ini
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
.pscaffold/pylama.ini
|
Loading…
Reference in a new issue