Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
django-taggit
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
05a62a20
authored
Aug 10, 2014
by
Daniel Hahler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setup.cfg: add flake8 section
parent
fd5e2b1d
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
20 additions
and
3 deletions
+20
-3
setup.cfg
+11
-0
taggit/admin.py
+1
-0
taggit/forms.py
+1
-0
taggit/managers.py
+1
-0
taggit/views.py
+1
-0
tests/models.py
+1
-0
tests/tests.py
+4
-3
No files found.
setup.cfg
View file @
05a62a20
...
...
@@ -3,3 +3,14 @@ license-file = LICENSE
[wheel]
universal=1
[flake8]
# ignore=NONE
# max-line-length=100
# E302: expected 2 blank lines, found 1 [E302]
# E501: line too long
ignore=E501,E302
[isort]
forced_separate=tests,taggit
taggit/admin.py
View file @
05a62a20
from
__future__
import
unicode_literals
from
django.contrib
import
admin
from
taggit.models
import
Tag
,
TaggedItem
...
...
taggit/forms.py
View file @
05a62a20
...
...
@@ -3,6 +3,7 @@ from __future__ import unicode_literals
from
django
import
forms
from
django.utils
import
six
from
django.utils.translation
import
ugettext
as
_
from
taggit.utils
import
edit_string_for_tags
,
parse_tags
...
...
taggit/managers.py
View file @
05a62a20
...
...
@@ -12,6 +12,7 @@ from django.db.models.related import RelatedObject
from
django.utils
import
six
from
django.utils.text
import
capfirst
from
django.utils.translation
import
ugettext_lazy
as
_
from
taggit.forms
import
TagField
from
taggit.models
import
GenericTaggedItemBase
,
TaggedItem
from
taggit.utils
import
require_instance_manager
...
...
taggit/views.py
View file @
05a62a20
...
...
@@ -3,6 +3,7 @@ from __future__ import unicode_literals
from
django.contrib.contenttypes.models
import
ContentType
from
django.shortcuts
import
get_object_or_404
from
django.views.generic.list
import
ListView
from
taggit.models
import
Tag
,
TaggedItem
...
...
tests/models.py
View file @
05a62a20
...
...
@@ -2,6 +2,7 @@ from __future__ import unicode_literals
from
django.db
import
models
from
django.utils.encoding
import
python_2_unicode_compatible
from
taggit.managers
import
TaggableManager
from
taggit.models
import
(
GenericTaggedItemBase
,
Tag
,
TagBase
,
TaggedItem
,
TaggedItemBase
)
...
...
tests/tests.py
View file @
05a62a20
...
...
@@ -8,9 +8,6 @@ from django.core import serializers
from
django.core.exceptions
import
ImproperlyConfigured
,
ValidationError
from
django.test
import
TestCase
,
TransactionTestCase
from
django.utils.encoding
import
force_text
from
taggit.managers
import
_model_name
,
_TaggableManager
,
TaggableManager
from
taggit.models
import
Tag
,
TaggedItem
from
taggit.utils
import
edit_string_for_tags
,
parse_tags
from
.forms
import
CustomPKFoodForm
,
DirectFoodForm
,
FoodForm
,
OfficialFoodForm
from
.models
import
(
Article
,
CustomManager
,
CustomPKFood
,
CustomPKHousePet
,
...
...
@@ -20,6 +17,10 @@ from .models import (Article, CustomManager, CustomPKFood, CustomPKHousePet,
Photo
,
TaggedCustomPKFood
,
TaggedCustomPKPet
,
TaggedFood
,
TaggedPet
)
from
taggit.managers
import
_model_name
,
_TaggableManager
,
TaggableManager
from
taggit.models
import
Tag
,
TaggedItem
from
taggit.utils
import
edit_string_for_tags
,
parse_tags
try
:
from
unittest
import
skipIf
,
skipUnless
except
ImportError
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment