Update README, LICENSE, and yaml workflow files
This commit is contained in:
parent
0120ec2e07
commit
fa283ffaff
26
.codecov.yaml
Normal file
26
.codecov.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
comment: false
|
||||
|
||||
coverage:
|
||||
status:
|
||||
project:
|
||||
default:
|
||||
# Commits pushed to master should not make the overall
|
||||
# project coverage decrease by more than x%:
|
||||
target: auto
|
||||
threshold: 20%
|
||||
patch:
|
||||
default:
|
||||
# Be tolerant on slight code coverage diff on PRs to limit
|
||||
# noisy red coverage status on github PRs.
|
||||
# Note: The coverage stats are still uploaded
|
||||
# to codecov so that PR reviewers can see uncovered lines
|
||||
target: auto
|
||||
threshold: 20%
|
||||
|
||||
codecov:
|
||||
notify:
|
||||
# Prevent coverage status to upload multiple times for parallel and long
|
||||
# running CI pipelines. This configuration is particularly useful on PRs
|
||||
# to avoid confusion. Note that this value is set to the number of Azure
|
||||
# Pipeline jobs uploading coverage reports.
|
||||
after_n_builds: 6
|
35
.pre-commit-config.yaml
Normal file
35
.pre-commit-config.yaml
Normal file
@ -0,0 +1,35 @@
|
||||
repos:
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: black
|
||||
name: black
|
||||
entry: black
|
||||
language: python
|
||||
types: [python]
|
||||
language_version: python3.7
|
||||
args: [--line-length=120]
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: mypy
|
||||
name: mypy
|
||||
entry: mypy
|
||||
language: system
|
||||
types: [python]
|
||||
args: [--ignore-missing-imports, --namespace-packages, --show-error-codes, --pretty]
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: flake8
|
||||
name: flake8
|
||||
entry: flake8
|
||||
language: system
|
||||
types: [python]
|
||||
args: [--max-line-length=120, "--ignore=D101,D104,D212,D200,E203,W293,D412,W503"]
|
||||
# D100 requires all Python files (modules) to have a "public" docstring even if all functions within have a docstring.
|
||||
# D104 requires __init__ files to have a docstring
|
||||
# D212
|
||||
# D200
|
||||
# D412 No blank lines allowed between a section header and its content
|
||||
# E203
|
||||
# W293 blank line contains whitespace
|
||||
# W503 line break before binary operator (for compatibility with black)
|
||||
|
4
.travis.yml
Normal file
4
.travis.yml
Normal file
@ -0,0 +1,4 @@
|
||||
language:
|
||||
python
|
||||
after_success:
|
||||
- bash <(curl -s https://codecov.io/bash)
|
2
LICENSE
2
LICENSE
@ -1,6 +1,6 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2021 pawelsikora
|
||||
Copyright (c) 2020 Pawel Sikora
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
@ -1,3 +1,10 @@
|
||||
[](https://github.com/pawelsikora/mkdocs-with-confluence/actions)
|
||||

|
||||

|
||||

|
||||
[](https://codecov.io/gh/pawelsikora/mkdocs-with-confluence)
|
||||

|
||||
,
|
||||
entry_points={
|
||||
'mkdocs.plugins': [
|
||||
'mkdocs-with-confluence = mkdocs_with_confluence.plugin:MkdocsWithConfluence'
|
||||
]
|
||||
}
|
||||
entry_points={"mkdocs.plugins": ["mkdocs-with-confluence = mkdocs_with_confluence.plugin:MkdocsWithConfluence"]},
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user