mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-05-15 15:18:46 +02:00
* Added a first action * Repaired a typo * Repaired a typo2 * Repaired a typo2 * Added flake8 action * Repaired a typo in the flake8 action. * Added a first bandit action * Added a first batch * Added a first batch * Added a first batch * Added a first batch * Added a first batch * Added the flake8-prebuild as a need to flake8 * Added the flake8-prebuild as a need to flake8 * Added the flake8-prebuild as a need to flake8 * Added the docker socket to the volume. * Added the flake8-prebuild as a need to flake8 * Removed latest part from container. * Removed latest part from container. * Removed latest part from container. * Reworked flake8 * Reworked flake8 * Reworked flake8 * Reworked flake8 * Reworked flake8 * Reworked flake8 * Reworked flake8 * Reworked flake8 * Reworked flake8 * Reworked flake8 * Reworked flake8 * Reworked flake8 * Reworked flake8 poetry * Reworked flake8 poetry * Changed to 64bit * Some edits to the runner * Added python setup * Added python -m to python docker image. * Added python -m to python docker image. * Added python -m to python docker image. * Added python -m to python docker image. * Added python -m to python docker image. * Added python -m to python docker image. * Added ra run linter * Added ra run linter * Added ra run linter * Added ra run linter * Removed redundant version * Removed redundant version * Added isort * Added isort * Added isort * Added poetry install * Added poetry install * Added flake8 as lint. * Added flake8 as lint. * Added flake8 as lint. * Added flake8 as lint. * Added flake8 as lint. * Added flake8 as lint. * Added flake8 as lint. * Uses nodejs and python image * Added flake8 as lint. * Added flake8 as lint. * Added flake8 as lint. * Added flake8 as lint. * Removed selfhosted runner * Removed self hosted runner * Removed self hosted runner * Removed self hosted runner * Added black and flake8 tests * Removed self hosted runner * Removed self hosted runner * Removed unneded actions * Added a mypy error. * Removed poetry call before boetry setup * Removed poetry call before poetry setup * Added a test to understand the poetry action better * Added a test to understand the poetry action better * Added a test to understand the poetry action better * Added a test to understand the poetry action better * Added a test to understand the poetry action better * Added a test to understand the poetry action better * Added the snook poetry builder * Reworked the repo a bit * Removed unneeded poetry installation * Added the isort action * Added isort test * Added ruff * Added full ruff configuration * Added full ruff configuration2 * Added full ruff configuration2 * Removed duplicat configurations * Removed some redundant pre-commit hooks * Removed unneeded actions. * Removed unneeded actions. * Repaired ruff * Added tests. * Removed * Removed * Removed a missing file * Removed a missing file * Removed a missing file * Removed a missing file * Removed a missing file * Added reports as artifacts * Added reports as artifacts * Added reports as artifacts * Removed the unneded poetry test * Added a license checker. * Added a license checker. * Removed some unneeded configuration. * Removed the import reformatted. * Added doc generation. * Added doc generation. * Added license summary. * Add * Add lint * Switched pip-licenses to poetry. * Switched pip-licenses to poetry. * Switched pip-licenses to poetry. * Remove some more packages. * Remove some more packages. * Added a make file * Added a make file * Added a make file * Added a make file * Added a make file * Added a make file * Added a make file * Added a make file * Added a make file * Added a make file * Added a make file * Added a make file * Added a make file * Added a make file * Added a make file * Added version codes to the main package * Changed the format of the md files * Presentation first draft * Version up and added extensions * Version up and added extensions * Version up and added extensions * Removed the venv path from docbuild * Actions version up * Actions version up * Actions version up * Actions version up * Actions version up * Actions version up * Experiements with sphinx * Experiments with sphinx * Experiments with sphinx * Experiments with sphinx * Experiments with sphinx * Experiments with sphinx * Experiments with sphinx * Experiments with sphinx * First draft of the sphinx documentation. * Added the protocol to the time series. * Added the protocol to the time series. * First draft ot a first build pipline * Added mermaid version support * Added documentations pull and branch request requirements. * Added documentations pull and branch request requirements. * Added documentations pull and branch request requirements. * Added documentations pull and branch request requirements. * Tests should now be passing * Tests should now be passing * Tests should now be passing * Tests should now be passing * Tests should now be passing * Tests should now be passing * Tests should now be passing * Tests should now be passing * Add safety * Add safety * Add safety * Added the action on pull_request_target * Added the action on pull_request_target * Added the action on pull_request_target * Added a pytest coverage report * Added a pytest coverage report * Added a pytest coverage report * Added a pytest coverage report * Added a pytest coverage report * Added a build step * Added a build step * Added a build step * Added a build step * Changed the lint action to work only on python changes. * Changed the lint action to work only on python changes. * Changed the lint action to work only on python changes. * Added the ability to compile a html report * Added the ability to compile a html report * Added the ability to compile a html report * Added the ability to compile a html report * Added the ability to compile a html report * Added the ability to compile a html report * Added the ability to compile a html report * Added the ability to compile a html report * Added the ability to compile a html report * Added the ability to compile a html report * Added the ability to compile a html report * Added the ability to compile a html report * Added the ability to compile a html report * Added the ability to compile a html report * Added the ability to compile a html report * Coverage * Finished test and build workflow * Finished test and build workflow * Finished test and build workflow * Finished test and build workflow * Finished test and build workflow * Finished test and build workflow * Finished test and build workflow * Finished test and build workflow * Finished test and build workflow * Finished test and build workflow * Finished test and build workflow * Finished test and build workflow * Finished test and build workflow * Finished test and build workflow * Finished test and build workflow * Finished test and build workflow * Finished test and build workflow * Finished test and build workflow * Finished test and build workflow * Finished test and build workflow * Repaired a bug. * Repaired a bug. * Repaired a bug. * Repaired a bug. * Repaired a bug. * Added a github branch.ref * Removed a poetry install * Docbuild now excludes templates * Added the seminarpräsentation to the documentation build * Added the seminarpräsentation to the documentation build * Added the seminarpräsentation to the documentation build * dded a few images * Changed the pre-commit image * Changed the pre-commit image * Presentation done * Never executing jupyter for sphinx * Never executing jupyter for sphinx * Never executing jupyter for sphinx * Never executing jupyter for sphinx * Never executing jupyter for sphinx
108 lines
2.4 KiB
TOML
108 lines
2.4 KiB
TOML
[build-system]
|
|
build-backend = "poetry.core.masonry.api"
|
|
requires = ["poetry-core"]
|
|
|
|
[tookl.mypy]
|
|
disallow_untyped_defs = true
|
|
follow_imports = "silent"
|
|
python_version = "3.11"
|
|
warn_redudant_casts = true
|
|
warn_unused_ignores = true
|
|
|
|
[tool.black]
|
|
target-version = ["py311"]
|
|
|
|
[tool.coverage.run]
|
|
branch = true
|
|
dynamic_context = "test_function"
|
|
relative_files = true
|
|
source = ["src"]
|
|
|
|
[tool.poetry]
|
|
authors = ["AKI Projektgruppe 23"]
|
|
description = "A project analysing the german transparenzregister and other data sources to find shared business interests and shared personal and other links for lots of companies."
|
|
name = "aki-prj23-transparenzregister"
|
|
packages = [{include = "aki_prj23_transparenzregister", from = "src"}]
|
|
readme = "README.md"
|
|
version = "0.1.0"
|
|
|
|
[tool.poetry.dependencies]
|
|
loguru = "^0.7.0"
|
|
matplotlib = "^3.7.1"
|
|
plotly = "^5.14.1"
|
|
python = "^3.11"
|
|
seaborn = "^0.12.2"
|
|
tqdm = "^4.65.0"
|
|
|
|
[tool.poetry.group.develop.dependencies]
|
|
black = {extras = ["jupyter"], version = "^23.3.0"}
|
|
jupyterlab = "^4.0.0"
|
|
nbconvert = "^7.4.0"
|
|
pre-commit = "^3.3.2"
|
|
rise = "^5.7.1"
|
|
|
|
[tool.poetry.group.doc.dependencies]
|
|
jupyter = "^1.0.0"
|
|
myst-parser = "^1.0.0"
|
|
nbsphinx = "^0.9.2"
|
|
sphinx = "^6.0.0"
|
|
sphinx-copybutton = "^0.5.2"
|
|
sphinx-rtd-theme = "^1.2.1"
|
|
sphinx_autodoc_typehints = "*"
|
|
sphinxcontrib-mermaid = "^0.9.2"
|
|
sphinxcontrib-napoleon = "^0.7"
|
|
|
|
[tool.poetry.group.lint.dependencies]
|
|
black = "^23.3.0"
|
|
mypy = "^1.3.0"
|
|
pandas-stubs = "^2.0.1.230501"
|
|
ruff = "^0.0.270"
|
|
types-requests = "^2.31.0.1"
|
|
|
|
[tool.poetry.group.test.dependencies]
|
|
pytest = "^7.3.1"
|
|
pytest-clarity = "^1.0.1"
|
|
pytest-cov = "^4.1.0"
|
|
pytest-mock = "^3.10.0"
|
|
pytest-repeat = "^0.9.1"
|
|
|
|
[tool.ruff]
|
|
exclude = [
|
|
".bzr",
|
|
".direnv",
|
|
".eggs",
|
|
".git",
|
|
".git-rewrite",
|
|
".hg",
|
|
".mypy_cache",
|
|
".nox",
|
|
".pants.d",
|
|
".pytype",
|
|
".ruff_cache",
|
|
".svn",
|
|
".tox",
|
|
".venv",
|
|
"__pypackages__",
|
|
"_build",
|
|
"buck-out",
|
|
"build",
|
|
"dist",
|
|
"node_modules",
|
|
"venv"
|
|
]
|
|
# Never enforce `E501` (line length violations).
|
|
ignore = ["E501"]
|
|
line-length = 88
|
|
# Enable flake8-bugbear (`B`) rules.
|
|
select = ["E", "F", "B", "I", "S", "RSE", "RET", "SLF", "SIM", "TID", "PD", "PL", "PLE", "PLR", "PLW", "NPY", "UP", "D", "N", "A", "C4", "T20", "PT"]
|
|
src = ["src"]
|
|
target-version = "py311"
|
|
# Avoid trying to fix flake8-bugbear (`B`) violations.
|
|
unfixable = ["B"]
|
|
|
|
[tool.ruff.per-file-ignores]
|
|
"tests/*.py" = ["S101"]
|
|
|
|
[tool.ruff.pydocstyle]
|
|
convention = "google"
|