Skip to content

Commit

Permalink
Merge branch 'main' into sandro/test-actions-bump
Browse files Browse the repository at this point in the history
  • Loading branch information
camposandro committed Feb 6, 2024
2 parents 380d85f + 01b74a4 commit e256245
Show file tree
Hide file tree
Showing 7 changed files with 1,272 additions and 23 deletions.
15 changes: 14 additions & 1 deletion .copier-answers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,21 @@ _commit: v1.4.6-59-g4c84e58
_src_path: gh:lincc-frameworks/python-project-template
author_email: [email protected]
author_name: Sandro Campos
custom_install: false
create_example_module: true
custom_install: true
enforce_style:
- pylint
failure_notification:
- email
include_benchmarks: true
include_docs: true
include_notebooks: true
mypy_type_checking: none
package_name: benchmarking_asv
project_license: none
project_name: benchmarking-asv
project_organization: lincc-frameworks
python_versions:
- '3.9'
- '3.10'
- '3.11'
7 changes: 4 additions & 3 deletions .github/workflows/code_style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ jobs:
pip install .
pip install .[dev]
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Analyze code with ruff
- name: Analyze code with pylint
run: |
ruff format --check
ruff check
pylint -rn -sn --recursive=y ./src --rcfile=./src/.pylintrc
pylint -rn -sn --recursive=y ./tests --rcfile=./tests/.pylintrc
pylint -rn -sn --recursive=y ./benchmarks --rcfile=./tests/.pylintrc
9 changes: 0 additions & 9 deletions benchmarks/.ruff.toml

This file was deleted.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dev = [
"sphinx", # Used to automatically generate documentation
"sphinx-rtd-theme", # Used to render documentation
"sphinx-autoapi", # Used to automatically generate api documentation
"ruff", # Used for static linting of files
"pylint", # Used for static linting of files
# if you add dependencies here while experimenting in a notebook and you
# want that notebook to render in your documentation, please add the
# dependencies to ./docs/requirements.txt as well.
Expand Down
Loading

0 comments on commit e256245

Please sign in to comment.