When it was located at the root of the project, it was sometimes not
getting loaded correctly since the root of the project is not a python
module, and producing the following error:
```
Command line or configuration file:1:0: E0013: Plugin 'pylint_django_settings' is impossible to load, is it installed ? ('No module named 'pylint_django_settings'') (bad-plugin-value)
```
This led all the pylint tests to fail.
This started happening more as we updated other dependencies via make
upgrade for some reason and led to inconsistent builds. The move should
hopefully make the loading reliable and consistent.
101 lines
2.2 KiB
INI
101 lines
2.2 KiB
INI
# ***************************
|
|
# ** DO NOT EDIT THIS FILE **
|
|
# ***************************
|
|
#
|
|
# This file was generated by edx-lint: https://github.com/openedx/edx-lint
|
|
#
|
|
# If you want to change this file, you have two choices, depending on whether
|
|
# you want to make a local change that applies only to this repo, or whether
|
|
# you want to make a central change that applies to all repos using edx-lint.
|
|
#
|
|
# Note: If your .editorconfig file is simply out-of-date relative to the latest
|
|
# .editorconfig in edx-lint, ensure you have the latest edx-lint installed
|
|
# and then follow the steps for a "LOCAL CHANGE".
|
|
#
|
|
# LOCAL CHANGE:
|
|
#
|
|
# 1. Edit the local .editorconfig_tweaks file to add changes just to this
|
|
# repo's file.
|
|
#
|
|
# 2. Run:
|
|
#
|
|
# $ edx_lint write .editorconfig
|
|
#
|
|
# 3. This will modify the local file. Submit a pull request to get it
|
|
# checked in so that others will benefit.
|
|
#
|
|
#
|
|
# CENTRAL CHANGE:
|
|
#
|
|
# 1. Edit the .editorconfig file in the edx-lint repo at
|
|
# https://github.com/openedx/edx-lint/blob/master/edx_lint/files/.editorconfig
|
|
#
|
|
# 2. install the updated version of edx-lint (in edx-lint):
|
|
#
|
|
# $ pip install .
|
|
#
|
|
# 3. Run (in edx-lint):
|
|
#
|
|
# $ edx_lint write .editorconfig
|
|
#
|
|
# 4. Make a new version of edx_lint, submit and review a pull request with the
|
|
# .editorconfig update, and after merging, update the edx-lint version and
|
|
# publish the new version.
|
|
#
|
|
# 5. In your local repo, install the newer version of edx-lint.
|
|
#
|
|
# 6. Run:
|
|
#
|
|
# $ edx_lint write .editorconfig
|
|
#
|
|
# 7. This will modify the local file. Submit a pull request to get it
|
|
# checked in so that others will benefit.
|
|
#
|
|
#
|
|
#
|
|
#
|
|
#
|
|
# STAY AWAY FROM THIS FILE!
|
|
#
|
|
#
|
|
#
|
|
#
|
|
#
|
|
# SERIOUSLY.
|
|
#
|
|
# ------------------------------
|
|
# Generated by edx-lint version: 5.6.0
|
|
# ------------------------------
|
|
[*]
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
charset = utf-8
|
|
indent_style = space
|
|
indent_size = 4
|
|
max_line_length = 120
|
|
trim_trailing_whitespace = true
|
|
|
|
[{Makefile, *.mk}]
|
|
indent_style = tab
|
|
indent_size = 8
|
|
|
|
[*.{yml,yaml,json}]
|
|
indent_size = 2
|
|
|
|
[*.js]
|
|
indent_size = 2
|
|
|
|
[*.diff]
|
|
trim_trailing_whitespace = false
|
|
|
|
[.git/*]
|
|
trim_trailing_whitespace = false
|
|
|
|
[COMMIT_EDITMSG]
|
|
max_line_length = 72
|
|
|
|
[*.rst]
|
|
max_line_length = 79
|
|
|
|
# 3eb1e01bd9ba6cdf1e5d0a493581c4ea14404b67
|