mirror of
https://github.com/jazzband/django-eav2.git
synced 2026-03-16 22:40:26 +00:00
parent
013cd58109
commit
990bdbd1cf
5 changed files with 22 additions and 5 deletions
4
.github/ISSUE_TEMPLATE/bug_report.md
vendored
4
.github/ISSUE_TEMPLATE/bug_report.md
vendored
|
|
@ -17,8 +17,8 @@ Tell us what happens instead.
|
|||
Not obligatory, but you can suggest a fix or reason for the bug.
|
||||
|
||||
## Steps to Reproduce
|
||||
This is not required, but it would be highly appreciated if you
|
||||
provided a link to a live example, or an unambiguous set of steps to
|
||||
This is not required, but it would be highly appreciated if you
|
||||
provided a link to a live example, or an unambiguous set of steps to
|
||||
reproduce this bug. Include code to reproduce, if relevant.
|
||||
|
||||
|
||||
|
|
|
|||
17
.pre-commit-config.yaml
Normal file
17
.pre-commit-config.yaml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# See https://pre-commit.com for more information
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.0.1
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: end-of-file-fixer
|
||||
- id: check-yaml
|
||||
- id: check-added-large-files
|
||||
- id: mixed-line-ending
|
||||
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 21.9b0
|
||||
hooks:
|
||||
- id: black
|
||||
language_version: python3
|
||||
entry: black --target-version=py36
|
||||
|
|
@ -17,4 +17,4 @@ help:
|
|||
# Catch-all target: route all unknown targets to Sphinx using the new
|
||||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
|
||||
%: Makefile
|
||||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
||||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ pre {
|
|||
}
|
||||
|
||||
.doc-title h1 {
|
||||
text-align: center;
|
||||
text-align: center;
|
||||
padding: 2rem !important;
|
||||
}
|
||||
|
||||
|
|
|
|||
2
runtests
2
runtests
|
|
@ -20,7 +20,7 @@ if __name__ == "__main__":
|
|||
'tests.attributes',
|
||||
'tests.misc_models',
|
||||
'tests.set_and_get',
|
||||
'tests.forms'
|
||||
'tests.forms',
|
||||
]
|
||||
else:
|
||||
tests = ['tests.{}'.format(arg) for arg in sys.argv[1:]]
|
||||
|
|
|
|||
Loading…
Reference in a new issue