mirror of
https://github.com/jazzband/django-categories.git
synced 2026-03-16 22:30:24 +00:00
Compare commits
3 commits
706d6d81eb
...
cb1f95412a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cb1f95412a | ||
|
|
65398b8d1b | ||
|
|
148ff00b90 |
3 changed files with 8 additions and 9 deletions
|
|
@ -1,15 +1,15 @@
|
|||
repos:
|
||||
- repo: https://github.com/PyCQA/isort
|
||||
rev: 5.13.2
|
||||
rev: 8.0.1
|
||||
hooks:
|
||||
- id: isort
|
||||
additional_dependencies: [toml]
|
||||
- repo: https://github.com/psf/black
|
||||
rev: 24.4.2
|
||||
- repo: https://github.com/psf/black-pre-commit-mirror
|
||||
rev: 26.3.0
|
||||
hooks:
|
||||
- id: black
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.6.0
|
||||
rev: v6.0.0
|
||||
hooks:
|
||||
- id: check-added-large-files
|
||||
- id: check-case-conflict
|
||||
|
|
@ -28,7 +28,7 @@ repos:
|
|||
args: ["--remove"]
|
||||
- id: requirements-txt-fixer
|
||||
- repo: https://github.com/PyCQA/flake8
|
||||
rev: 7.0.0
|
||||
rev: 7.3.0
|
||||
hooks:
|
||||
- id: flake8
|
||||
- repo: https://github.com/pycqa/pydocstyle
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
#!/usr/bin/env python
|
||||
"""Entrypoint for custom django functions."""
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
|
|
|
|||
|
|
@ -16,11 +16,9 @@ class SimpleTest(TestCase):
|
|||
self.assertEqual(1 + 1, 2)
|
||||
|
||||
|
||||
__test__ = {
|
||||
"doctest": """
|
||||
__test__ = {"doctest": """
|
||||
Another way to test that 1 + 1 is equal to 2.
|
||||
|
||||
>>> 1 + 1 == 2
|
||||
True
|
||||
"""
|
||||
}
|
||||
"""}
|
||||
|
|
|
|||
Loading…
Reference in a new issue