Skip to content

Commit

Permalink
Update from upstream Superlinear cookiecutter template (#5)
Browse files Browse the repository at this point in the history
* feat: prefer mypy daemon (superlinear-ai#245)

* fix: remove deprecated ruff imports feature (superlinear-ai#246)

* feat: add GitHub Codespaces badge (superlinear-ai#247)

* docs: update ruff hyperlink (superlinear-ai#248)

docs: update Ruff hyperlink

* feat: increase minimum Python version to 3.10 (superlinear-ai#249)

* feat: add ipython to dev dependencies

* feat: increase minimum Python version to 3.10

* fix: update ruff log level (superlinear-ai#250)

* fix: conflicting dependencies between ipython and commitizen (superlinear-ai#252)

* chore: replace Radix with Superlinear (superlinear-ai#251)

Co-authored-by: Xavier Goás Aguililla <[email protected]>

* feat: remove CI/CD, add PostgreSQL + Adminer options (#1)

* feat: removed CI/CD, added PostgreSQL and Adminer options

* fix(LICENSE): typo in name

* chore: documented new cookiecutter options

* chore: add `poetry install` instruction in README

* chore: add poe lint/test instructions to README

* feat: add Streamlit app option to cookiecutter (#2)

* feat: add with_streamlit cookiecutter option

* chore: rename with_streamlit cookiecutter var

* feat: add VSCode debug launch config

* chore: update LICENSE date

* chore(README): fixed syntax

* refactor(docker-compose): remove version (deprecated)

* feat: removed GitHub test flow

---------

Co-authored-by: Laurent Sorber <[email protected]>
Co-authored-by: r-dh <[email protected]>
Co-authored-by: Xavier Goás Aguililla <[email protected]>
Co-authored-by: Xavier Goás Aguililla <[email protected]>
  • Loading branch information
5 people authored Nov 17, 2024
1 parent 706a221 commit c40249e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 71 deletions.
68 changes: 0 additions & 68 deletions .github/workflows/test.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"/usr/local/bin/python"
],
"mypy-type-checker.importStrategy": "fromEnvironment",
"mypy-type-checker.preferDaemon": true,
"notebook.codeActionsOnSave": {
"notebook.source.fixAll": "explicit",
"notebook.source.organizeImports": "explicit"
Expand All @@ -55,7 +56,7 @@
"python.testing.pytestEnabled": true,
"ruff.importStrategy": "fromEnvironment",
{%- if cookiecutter.development_environment == "strict" %}
"ruff.logLevel": "warn",
"ruff.logLevel": "warning",
{%- endif %}
"terminal.integrated.defaultProfile.linux": "zsh",
"terminal.integrated.profiles.linux": {
Expand Down
4 changes: 2 additions & 2 deletions {{ cookiecutter.__project_name_kebab_case }}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pre-commit = ">=3.7.0"
pytest = ">=8.1.1"
pytest-mock = ">=3.14.0"
pytest-xdist = ">=3.5.0"
ruff = ">=0.3.5"
ruff = ">=0.5.7"
{%- if cookiecutter.development_environment == "strict" %}
safety = ">=3.1.0"
shellcheck-py = ">=0.10.0.1"
Expand All @@ -66,6 +66,7 @@ typeguard = ">=4.2.1"
[tool.poetry.group.dev.dependencies] # https://python-poetry.org/docs/master/managing-dependencies/
cruft = ">=2.15.0"
ipykernel = ">=6.29.4"
ipython = ">=8.18.0"
ipywidgets = ">=8.1.2"
pdoc = ">=14.4.0"
{%- if cookiecutter.private_package_repository_name %}
Expand Down Expand Up @@ -137,7 +138,6 @@ src = ["src", "tests"]
target-version = "py{{ cookiecutter.python_version.split('.')[:2]|join }}"

[tool.ruff.lint]
ignore-init-module-imports = true
{%- if cookiecutter.development_environment == "strict" %}
select = ["A", "ASYNC", "B", "BLE", "C4", "C90", "D", "DTZ", "E", "EM", "ERA", "F", "FBT", "FLY", "FURB", "G", "I", "ICN", "INP", "INT", "ISC", "LOG", "N", "NPY", "PERF", "PGH", "PIE", "PL", "PT", "PTH", "PYI", "Q", "RET", "RSE", "RUF", "S", "SIM", "SLF", "SLOT", "T10", "T20", "TCH", "TID", "TRY", "UP", "W", "YTT"]
ignore = ["D203", "D213", "E501", "RET504", "S101", "S307"]
Expand Down

0 comments on commit c40249e

Please sign in to comment.