Skip to content

Commit

Permalink
General repository improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paebbels committed Dec 26, 2021
2 parents ca61132 + 6b024fc commit ca602c9
Show file tree
Hide file tree
Showing 12 changed files with 96 additions and 32 deletions.
30 changes: 30 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
root = true

[*]
charset = utf-8
# end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab
indent_size = 2
tab_width = 2


[*.py]
indent_style = tab
indent_size = 2

[*.{yml,yaml}]
indent_style = space
indent_size = 2

[*.{json,ini}]
indent_style = tab
indent_size = 2

[*.md]
trim_trailing_whitespace = false

[*.rst]
indent_style = space
indent_size = 3
7 changes: 3 additions & 4 deletions .github/workflows/Pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ name: Pipeline
on:
push:
workflow_dispatch:

defaults:
run:
shell: bash
schedule:
- cron: '0 0 * * 5'

jobs:

Expand Down Expand Up @@ -90,6 +88,7 @@ jobs:
needs:
- Params
#- UnitTesting
#- PublishTestResults
#- Coverage
- BuildTheDocs
- PublishToGitHubPages
Expand Down
22 changes: 17 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,24 @@
__pycache__/
*.py[cod]

# Coverage.py
.coverage
.cov
coverage.xml

# setuptools
/build/**/*.*
/dist/**/*.*
/*.egg-info

# Dependencies
!requirements.txt

# Sphinx documentation
doc/_build
doc/_theme
/doc/_build/
/doc/_theme/
/doc/pyEDAA.OutputFilter/**/*.*
!/doc/pyEDAA.OutputFilter/index.rst

# PyCharm project
/.idea/workspace.xml

# VSCode settings
/.vscode
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"files.trimTrailingWhitespace": false,
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<a title="edaa-org.github.io/pyEDAA.OutputFilter" href="https://edaa-org.github.io/pyEDAA.OutputFilter"><img height="80px" src="doc/_static/logo.svg"/></a>
</p>

[![Sourcecode on GitHub](https://img.shields.io/badge/pyEDAA-pyEDAA.OutputFilter-ffca28.svg?longCache=true&style=flat-square&logo=GitHub&labelColor=ff8f00)](https://GitHub.com/edaa-org/pyEDAA.OutputFilter)
[![Sourcecode on GitHub](https://img.shields.io/badge/pyEDAA-OutputFilter-ffca28.svg?longCache=true&style=flat-square&logo=GitHub&labelColor=ff8f00)](https://GitHub.com/edaa-org/pyEDAA.OutputFilter)
[![Documentation](https://img.shields.io/website?longCache=true&style=flat-square&label=edaa-org.github.io%2FpyEDAA.OutputFilter&logo=GitHub&logoColor=fff&up_color=blueviolet&up_message=Read%20now%20%E2%9E%9A&url=https%3A%2F%2Fedaa-org.github.io%2FpyEDAA.OutputFilter%2Findex.html)](https://edaa-org.github.io/pyEDAA.OutputFilter/)
[![Gitter](https://img.shields.io/badge/chat-on%20gitter-4db797.svg?longCache=true&style=flat-square&logo=gitter&logoColor=e8ecef)](https://gitter.im/hdl/community)
[![GitHub Workflow - Build and Test Status](https://img.shields.io/github/workflow/status/edaa-org/pyEDAA.OutputFilter/Pipeline/main?longCache=true&style=flat-square&label=Build%20and%20Test&logo=GitHub%20Actions&logoColor=FFFFFF)](https://GitHub.com/edaa-org/pyEDAA.OutputFilter/actions/workflows/Pipeline.yml)
Expand All @@ -26,7 +26,7 @@
-->

<p align="center">
<a title="edaa-org.github.io/pyEDAA.UCIS" href="https://edaa-org.github.io/pyEDAA.UCIS"><img height="275px" src="doc/_static/work-in-progress.png"/></a>
<a title="edaa-org.github.io/pyEDAA.OutputFilter" href="https://edaa-org.github.io/pyEDAA.OutputFilter"><img height="275px" src="doc/_static/work-in-progress.png"/></a>
</p>

# Main Goals
Expand Down
2 changes: 2 additions & 0 deletions dist/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
wheel
twine
4 changes: 2 additions & 2 deletions doc/shields.inc
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
# percent encoding so that the URL is properly parsed.

.. # Sourcecode link to GitHub
.. |SHIELD:svg:OutputFilter-github| image:: https://img.shields.io/badge/pyEDAA-pyEDAA.OutputFilter-ffca28.svg?longCache=true&style=flat-square&logo=GitHub&labelColor=ff8f00
.. |SHIELD:svg:OutputFilter-github| image:: https://img.shields.io/badge/pyEDAA-OutputFilter-ffca28.svg?longCache=true&style=flat-square&logo=GitHub&labelColor=ff8f00
:alt: Sourcecode on GitHub
:height: 22
:target: https://GitHub.com/edaa-org/pyEDAA.OutputFilter
.. |SHIELD:png:OutputFilter-github| image:: https://raster.shields.io/badge/pyEDAA-pyEDAA.OutputFilter-ffca28.svg?longCache=true&style=flat-square&logo=GitHub&labelColor=ff8f00
.. |SHIELD:png:OutputFilter-github| image:: https://raster.shields.io/badge/pyEDAA-OutputFilter-ffca28.svg?longCache=true&style=flat-square&logo=GitHub&labelColor=ff8f00
:alt: Sourcecode on GitHub
:height: 22
:target: https://GitHub.com/edaa-org/pyEDAA.OutputFilter
Expand Down
2 changes: 1 addition & 1 deletion pyEDAA/OutputFilter/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

from pydecor import export
from pyTooling.Decorators import export

__version__ = "0.1.0"

Expand Down
36 changes: 36 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[build-system]
requires = [
"pyTooling >= 1.7.0",
"setuptools >= 35.0.2",
"wheel >= 0.29.0"
]
build-backend = "setuptools.build_meta"

[tool.black]
line-length = 120

[tool.pytest.ini_options]
# Don't set 'python_classes = *' otherwise, pytest doesn't search for classes
# derived from unittest.Testcase
python_files = "*"
python_functions = "test_*"

[tool.coverage.run]
branch = true
omit = [
"*site-packages*",
"setup.py"
]

[tool.coverage.report]
skip_covered = true
skip_empty = true
exclude_lines = [
"raise NotImplementedError"
]

[tool.coverage.html]
directory = "report/coverage/html"

[tool.coverage.xml]
output = "report/coverage/coverage.xml"
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
pydecor>=2.0.1
12 changes: 0 additions & 12 deletions tests/.coveragerc

This file was deleted.

5 changes: 0 additions & 5 deletions tests/pytest.ini

This file was deleted.

0 comments on commit ca602c9

Please sign in to comment.