Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
339e465
Mas conversion (#17)
Foloso Apr 19, 2022
d0f0c47
update readme
TokyAxel Apr 19, 2022
fc48d33
remove temporary files
TokyAxel Apr 19, 2022
4cfff0d
change import source
TokyAxel Apr 20, 2022
b62edde
Update README.md
TokyAxel Apr 20, 2022
b493880
fixes bug on loading file from package
TokyAxel Apr 21, 2022
ee0edf2
add Perf key in the log output
TokyAxel Apr 24, 2022
dc8cad4
updating Scenario to run multiple runs
Apr 25, 2022
0ac07d4
update readme
TokyAxel May 2, 2022
3605fa8
write improvement
TokyAxel May 3, 2022
7069cef
folders restructuration
TokyAxel May 3, 2022
30f9ea1
update github action
TokyAxel May 3, 2022
c60b3f2
add requirements for tests
TokyAxel May 3, 2022
9cb8272
update requirements for tests
TokyAxel May 3, 2022
c78d9ed
improvement from mypy test
TokyAxel May 5, 2022
2c88c43
write improvement
TokyAxel May 7, 2022
e82a019
check github workflow
TokyAxel May 7, 2022
05b3517
check CI bugs
TokyAxel May 7, 2022
944e4b1
disable pylint check
TokyAxel May 7, 2022
a73653c
fixes bugs
TokyAxel May 7, 2022
55a082f
update mypy workflow
TokyAxel May 7, 2022
47053eb
update requirement_dev
TokyAxel May 7, 2022
867e148
fix bug
TokyAxel May 7, 2022
312d0f0
update mix package
TokyAxel May 31, 2022
73fa010
update classic method plot and add tqdm method
TokyAxel Jul 15, 2022
b963793
fix evaluation module and test on classic
TokyAxel Jan 2, 2023
7f28964
black parsing on specific files
TokyAxel Jan 2, 2023
a672ef9
[FIX] fix opt params
TokyAxel Feb 5, 2023
dd651b0
[ADD] citation in README.md
TokyAxel Jul 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
44 changes: 44 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Python package

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.6, 3.7, 3.8, 3.9]
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# You can test your matrix by printing the current Python version
- name: Display Python version
run: python -c "import sys; print(sys.version)"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install Cython
pip install click==8.0.4
pip install -r requirements_dev.txt
- name: Run black
run:
black --check .
#- name: Run flake8
# run: flake8
#- name: Run Pylint
# run: pylint mixsimulator
- name: Run Mypy
run: mypy --allow-untyped-defs --warn-redundant-casts --strict-optional mixsimulator
#- name: tests
# run: |
# pip install .[tests]
# pytest
Empty file modified .gitignore
100644 → 100755
Empty file.
60 changes: 60 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v2.32.1
hooks:
- id: pyupgrade
args: [ "--py38-plus" ]
- repo: https://github.com/pre-commit/mirrors-isort
rev: v5.10.1 # Use the revision sha / tag you want to point at
hooks:
- id: isort
args: ["--profile", "black"]
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
#- repo: https://gitlab.com/pycqa/flake8
# rev: 4.0.1
# hooks:
# - id: flake8
# language_version: python3
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
hooks:
- id: check-docstring-first
- id: check-json
- id: check-merge-conflict
- id: check-yaml
- id: debug-statements
- id: end-of-file-fixer
- id: trailing-whitespace
- id: requirements-txt-fixer
- repo: https://github.com/pre-commit/mirrors-pylint
rev: v3.0.0a4
hooks:
- id: pylint
args:
- --max-line-length=120
- --ignore-imports=yes
- -d duplicate-code
- repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.9.0
hooks:
- id: python-check-mock-methods
- id: python-use-type-annotations
- id: python-check-blanket-noqa
- id: python-use-type-annotations
- id: text-unicode-replacement-char
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.950
hooks:
- id: mypy
exclude: ^tests/
args:
[
#--disallow-untyped-defs,
#--check-untyped-defs,
--warn-redundant-casts,
#--no-implicit-optional, TODO!
--strict-optional
]
99 changes: 0 additions & 99 deletions Demand.py

This file was deleted.

Loading