Skip to content

Commit

Permalink
New edx-lint has unicode-format-string, disable it for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ned Batchelder committed Dec 17, 2018
1 parent 0db0649 commit 0a0219d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ disable =
unpacking-in-except,
using-cmp-argument,
xrange-builtin,
zip-builtin-not-iterating,
zip-builtin-not-iterating,,unicode-format-string

[REPORTS]
output-format = text
Expand Down Expand Up @@ -445,4 +445,4 @@ int-import-graph =
[EXCEPTIONS]
overgeneral-exceptions = Exception

# cb770bb6272f6fe1edfd74aa1fb912be5541481c
# c8b8d35a9a123f3c2eb3ce0cb466156bab2beedc
4 changes: 4 additions & 0 deletions pylintrc_tweaks
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
ignore+ = ,.git,.tox,migrations,node_modules,.pycharm_helpers
init-hook="import sys; sys.path.extend(['lms/djangoapps', 'cms/djangoapps', 'common/djangoapps'])"

[MESSAGES CONTROL]
# Disable unicode-format-string until we can agree to turn it on.
disable+ = ,unicode-format-string

[BASIC]
attr-rgx = [a-z_][a-z0-9_]{2,40}$
argument-rgx = [a-z_][a-z0-9_]{2,40}$
Expand Down
2 changes: 1 addition & 1 deletion requirements/edx/testing.in
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ bok-choy # Framework for browser automation tests, based on sel
cssselect # Used to extract HTML fragments via CSS selectors in 2 test cases and pyquery
ddt # Run a test case multiple times with different input; used in many, many of our tests
edx-i18n-tools>=0.4.6 # Commands for developers and translators to extract, compile and validate translations
edx-lint==0.6.0 # pylint extensions for Open edX repositories
edx-lint==1.0.0 # pylint extensions for Open edX repositories
factory_boy==2.8.1 # Library for creating test fixtures, used in many tests
freezegun # Allows tests to mock the output of assorted datetime module functions
httpretty # Library for mocking HTTP requests, used in many tests
Expand Down

0 comments on commit 0a0219d

Please sign in to comment.