Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
bcf3895f
Commit
bcf3895f
authored
Jul 14, 2015
by
Philipp Wolfer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed unused flag from format checks.
parent
868bd544
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
weblate/trans/checks/format.py
weblate/trans/checks/format.py
+0
-5
No files found.
weblate/trans/checks/format.py
View file @
bcf3895f
...
...
@@ -103,7 +103,6 @@ class BaseFormatCheck(TargetCheck):
'''
Base class for fomat string checks.
'''
flag
=
None
regexp
=
None
default_disabled
=
True
severity
=
'danger'
...
...
@@ -222,7 +221,6 @@ class PythonFormatCheck(BaseFormatCheck):
check_id
=
'python_format'
name
=
_
(
'Python format'
)
description
=
_
(
'Format string does not match source'
)
flag
=
'python-format'
regexp
=
PYTHON_PRINTF_MATCH
def
is_position_based
(
self
,
string
):
...
...
@@ -236,7 +234,6 @@ class PHPFormatCheck(BaseFormatCheck):
check_id
=
'php_format'
name
=
_
(
'PHP format'
)
description
=
_
(
'Format string does not match source'
)
flag
=
'php-format'
regexp
=
PHP_PRINTF_MATCH
def
is_position_based
(
self
,
string
):
...
...
@@ -250,7 +247,6 @@ class CFormatCheck(BaseFormatCheck):
check_id
=
'c_format'
name
=
_
(
'C format'
)
description
=
_
(
'Format string does not match source'
)
flag
=
'c-format'
regexp
=
C_PRINTF_MATCH
def
is_position_based
(
self
,
string
):
...
...
@@ -264,7 +260,6 @@ class PythonBraceFormatCheck(BaseFormatCheck):
check_id
=
'python_brace_format'
name
=
_
(
'Python brace format'
)
description
=
_
(
'Format string does not match source'
)
flag
=
'python-brace-format'
regexp
=
PYTHON_BRACE_MATCH
def
is_position_based
(
self
,
string
):
...
...
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