Skip to content

Commit fc4620c

Browse files
Add eachdist and move tox to root folder (open-telemetry#29)
Move tox and other configuration files to root folder. Add eachdist to make it easier to handle operations with different packages. The eachdist is taken from opentelemetry but slighty modified to avoid ignoring a given path.
1 parent 0cf7ce2 commit fc4620c

12 files changed

+1161
-21
lines changed

Diff for: .coveragerc

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[run]
2+
omit =
3+
*/tests/*
4+
*/setup.py
5+
*/gen/*
6+
reference/*

Diff for: .flake8

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[flake8]
2+
ignore =
3+
E501 # line too long, defer to black
4+
F401 # unused import, defer to pylint
5+
W503 # allow line breaks after binary ops, not after
6+
E203 # allow whitespace before ':' (https://github.com/psf/black#slices)
7+
exclude =
8+
.bzr
9+
.git
10+
.hg
11+
.svn
12+
.tox
13+
CVS
14+
.venv*/
15+
venv*/
16+
target
17+
reference/
18+
__pycache__

Diff for: .isort.cfg

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
[settings]
2+
include_trailing_comma=True
3+
force_grid_wrap=0
4+
use_parentheses=True
5+
line_length=79
6+
7+
; 3 stands for Vertical Hanging Indent, e.g.
8+
; from third_party import (
9+
; lib1,
10+
; lib2,
11+
; lib3,
12+
; )
13+
; docs: https://github.com/timothycrosley/isort#multi-line-output-modes
14+
multi_line_output=3
15+
skip=target
16+
skip_glob=**/gen/*,.venv*/*,venv*/*,reference*/*
17+
known_first_party=opentelemetry
18+
known_third_party=psutil,pytest

0 commit comments

Comments
 (0)