Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork940
Tidy tools#1294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Tidy tools#1294
Changes fromall commits
bce21f1
e6d1114
ef3622f
5322686
3b86189
19033e5
426a719
970cf53
0a81259
83af8e8
ae75712
c16c438
1159b7e
a087d62
9f906b3
f587b21
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[flake8] | ||
show-source = True | ||
count= True | ||
statistics = True | ||
# E265 = comment blocks like @{ section, which it can't handle | ||
# E266 = too many leading '#' for block comment | ||
# E731 = do not assign a lambda expression, use a def | ||
# W293 = Blank line contains whitespace | ||
# W504 = Line break after operator | ||
# E704 = multiple statements in one line - used for @override | ||
# TC002 = | ||
# ANN = flake8-annotations | ||
# TC, TC2 = flake8-type-checking | ||
# D = flake8-docstrings | ||
# select = C,E,F,W ANN, TC, TC2 # to enable code. Disabled if not listed, including builtin codes | ||
enable-extensions = TC, TC2 # only needed for extensions not enabled by default | ||
ignore = E265,E266,E731,E704, | ||
W293, W504, | ||
ANN0 ANN1 ANN2, | ||
TC0, TC1, TC2 | ||
# B, | ||
A, | ||
D, | ||
RST, RST3 | ||
max-line-length = 120 | ||
exclude = .tox,.venv,build,dist,doc,git/ext/,test | ||
rst-roles = # for flake8-RST-docstrings | ||
attr,class,func,meth,mod,obj,ref,term,var # used by sphinx |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
sphinx==4.1.1 | ||
sphinx_rtd_theme | ||
sphinx-autodoc-typehints |
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
[tool.pytest.ini_options] | ||
python_files = 'test_*.py' | ||
testpaths = 'test' # space seperated list of paths from root e.g test tests doc/testing | ||
addopts = '--cov=git --cov-report=term --maxfail=10 --force-sugar --disable-warnings' | ||
filterwarnings = 'ignore::DeprecationWarning' | ||
# --cov coverage | ||
# --cov-report term # send report to terminal term-missing -> terminal with line numbers html xml | ||
# --cov-report term-missing # to terminal with line numbers | ||
# --cov-report html:path # html file at path | ||
# --maxfail # number of errors before giving up | ||
# -disable-warnings # Disable pytest warnings (not codebase warnings) | ||
# -rf # increased reporting of failures | ||
# -rE # increased reporting of errors | ||
# --ignore-glob=**/gitdb/* # ignore glob paths | ||
# filterwarnings ignore::WarningType # ignores those warnings | ||
[tool.mypy] | ||
# disallow_untyped_defs = True | ||
no_implicit_optional = true | ||
warn_redundant_casts = true | ||
# warn_unused_ignores = True | ||
# warn_unreachable = True | ||
show_error_codes = true | ||
# TODO: remove when 'gitdb' is fully annotated | ||
[[tool.mypy.overrides]] | ||
module = "gitdb.*" | ||
ignore_missing_imports = true | ||
[tool.coverage.run] | ||
source = ["git"] | ||
[tool.coverage.report] | ||
include = ["*/git/*"] | ||
omit = ["*/git/ext/*"] |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
-r requirements.txt | ||
-r test-requirements.txt | ||
# libraries for additional local testing/linting - to be added to test-requirements.txt when all pass | ||
flake8-bugbear | ||
flake8-comprehensions | ||
flake8-type-checking;python_version>="3.8" # checks for TYPE_CHECKING only imports | ||
# flake8-annotations # checks for presence of type annotations | ||
# flake8-rst-docstrings # checks docstrings are valid RST | ||
# flake8-builtins # warns about shadowing builtin names | ||
# flake8-pytest-style | ||
# pytest-flake8 | ||
pytest-sugar | ||
pytest-icdiff | ||
# pytest-profiling |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
ddt>=1.1.1 | ||
mypy | ||
flake8 | ||
virtualenv | ||
pytest | ||
This file was deleted.
Uh oh!
There was an error while loading.Please reload this page.