mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-05 04:50:12 +03:00
Merge a5f0e4b5f2
into 8f6173cd8a
This commit is contained in:
commit
76a4c4cbb1
20
.editorconfig
Normal file
20
.editorconfig
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
# http://editorconfig.org
|
||||||
|
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 4
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
end_of_line = lf
|
||||||
|
charset = utf-8
|
||||||
|
|
||||||
|
# Docstrings and comments use max_line_length = 79
|
||||||
|
[*.py]
|
||||||
|
max_line_length = 119
|
||||||
|
|
||||||
|
# Minified JavaScript files shouldn't be changed
|
||||||
|
[**.min.js]
|
||||||
|
indent_style = ignore
|
||||||
|
insert_final_newline = ignore
|
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -16,3 +16,4 @@ coverage.*
|
||||||
!.gitignore
|
!.gitignore
|
||||||
!.travis.yml
|
!.travis.yml
|
||||||
!.isort.cfg
|
!.isort.cfg
|
||||||
|
!.editorconfig
|
||||||
|
|
Loading…
Reference in New Issue
Block a user