Skip to content

Commit

Permalink
General cleanup (#1146)
Browse files Browse the repository at this point in the history
* root file cleanup

* update tests

* utf8 adaptions

* adapt naming

* remove Django <= 1.10 support

* fixed reverse import

* applied isort

* adapted changelog

* fixes readme

* fix flake issue

* fixes docs build

* docs update

* added django cms compatibility infos

* added code changes from comments

* fix import error

* fixes linting issues
  • Loading branch information
FinalAngel authored May 10, 2019
1 parent e5f98e4 commit 64ba3fe
Show file tree
Hide file tree
Showing 69 changed files with 271 additions and 470 deletions.
9 changes: 6 additions & 3 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
[run]
source = filer
branch = True
source = filer
omit =
filer/south_migrations/*
filer/migrations/*
migrations/*
tests/*

[report]
exclude_lines =
pragma: no cover
def __repr__
if self.debug:
if settings.DEBUG
raise AssertionError
raise NotImplementedError
if 0:
if __name__ == .__main__.:
ignore_errors = True
29 changes: 25 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,10 +1,31 @@
# editorconfig.org

root = true

[*]
indent_style = space
indent_size = 4
end_of_line = lf
insert_final_newline = true

[*.{js,py}]
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 80

[*.py]
max_line_length = 120
quote_type = single

[*.{scss,js,html}]
max_line_length = 120
indent_style = space
indent_size = 4
quote_type = double

[*.js]
max_line_length = 120
quote_type = single

[*.rst]
max_line_length = 80

[*.yml]
indent_size = 2
52 changes: 27 additions & 25 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,38 +1,40 @@
*.pyc
*.pyo
*.py[cod]
*$py.class
*.egg-info
*.log
*.pot
.DS_Store
.coverage/
.eggs/
.idea/
.project/
.pydevproject/
.vscode/
.settings/
.tox/
__pycache__/
build/
dist/
env/

/~
/node_modules
.sass-cache
*.css.map
package-lock.json

local.sqlite

.installed.cfg
bin
develop-eggs
dist
downloads
eggs
.eggs
parts
build
tmp
*.egg-info
*.egg
.DS_Store
.project
.pydevproject
.settings
*~
docs/_build
distribute*
lib/
include/
tests/tmp/
*.coverage
coverage.xml
pep8.txt
htmlcov/
share/
.idea
/env
/envs
.tox
testenv1
node_modules/
.python-version
data
local.sqlite
17 changes: 0 additions & 17 deletions .hgignore

This file was deleted.

121 changes: 0 additions & 121 deletions AUTHORS

This file was deleted.

Loading

0 comments on commit 64ba3fe

Please sign in to comment.