Skip to content

Commit

Permalink
.moban.yml: Add .editorconfig
Browse files Browse the repository at this point in the history
Closes coala#331
  • Loading branch information
kiy4h committed Nov 11, 2018
1 parent 4c61393 commit 1de93b6
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 2 deletions.
19 changes: 19 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# top-most EditorConfig file
root = true

[**]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
max_line_length = 80
trim_trailing_whitespace = true

# Set default indentation for python files
[*.py]
indent_size = 4

# Override trailing whitespace for markdown files
[*.md]
trim_trailing_whitespace = false
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ venv.bak/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# VirtualEnv rules
# Virtualenv
# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/
Expand Down
1 change: 1 addition & 0 deletions .moban.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ configuration:
configuration_dir: ../coala-mobans/
targets:
- .gitignore: coala-gitignore.jj2
- .editorconfig: .editorconfig.jj2
- setup.cfg: setup.cfg.jj2
- requirements.txt: requirements.txt.jj2
- test-requirements.txt: corobo-test-requirements.txt.jj2
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ doctest_optionflags =
ELLIPSIS
IGNORE_EXCEPTION_DETAIL

env =
PYTEST=1

reqsfilenamepatterns =
requirements.txt
test-requirements.txt
Expand Down
10 changes: 8 additions & 2 deletions test-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
# Radon requires colorama<0.4, but many other tools listed here will
# install a later version, so when pip tries to install radon it will
# ignore the dependency version difference and only fail when the
# bear is loaded.
colorama<0.4
# coverage 4.4.2 broke compatibility with coverage-config-reload-plugin
# and thus broke https://github.com/jayvdb/coverage_env_plugin .
# See https://github.com/jayvdb/coverage_config_reload_plugin/issues/1
coverage==4.4.1
coverage-env-plugin~=0.1
coverage-config-reload-plugin~=0.2
codecov~=2.0.5
moban~=0.2.4
moban~=0.3.1
packaging~=16.8
pytest~=3.6.1
pytest-cov~=2.4
Expand All @@ -15,11 +20,12 @@ pytest-instafail~=0.3.0
pytest-mock~=1.1
pytest-profiling~=1.3.0
pytest-reorder~=0.1.0
pytest-reqs~=0.0.6
git+https://github.com/jayvdb/pytest-reqs@coala#egg=pytest-reqs
pytest-timeout~=1.3.0
pytest-travis-fold~=1.3.0
pytest-xdist~=1.15
requests-mock~=1.2
ipdb~=0.11
pip<10
wheel~=0.29
vcrpy

0 comments on commit 1de93b6

Please sign in to comment.