-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into bug/kuramoto-demo
- Loading branch information
Showing
4 changed files
with
10 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ['3.10', '3.11'] | ||
python-version: ['3.10'] #3.11 | ||
os: [ubuntu-latest, macOS-latest] #,windows-latest] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
@@ -24,12 +24,12 @@ jobs: | |
- name: Setup PDM | ||
uses: pdm-project/[email protected] | ||
with: | ||
version: 2.10.4 | ||
version: 2.15.4 | ||
cache: true | ||
|
||
- name: Install dependencies | ||
run: | | ||
pdm install -d -G tensorflow -G rebound | ||
pdm install -G all | ||
- name: Analysing the code with pylint | ||
run: | | ||
pdm run pylint $(git ls-files '*.py') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,7 @@ | |
pyenv shell 3.10.14 #use the newly installed version | ||
``` | ||
|
||
Check your installation by running `which python` which should output something along the lines of: | ||
Check your installation by running `which python`. Output should be along the lines of: | ||
- for mise: `/Users/[user]/.local/share/mise/installs/python/3.10.14/bin/python` | ||
|
||
- for pyenv: `/Users/[user]/.pyenv/shims/python` | ||
|
@@ -53,11 +53,8 @@ | |
Installing via `mise` will allow for the flexibilty to change `pdm` versions depending on the project. | ||
|
||
```sh | ||
mise plugin install pdm | ||
pip install virtualenv # might be necessary | ||
mise install pdm 2.15.4 | ||
mise global pdm 2.15.4 | ||
``` | ||
mise use --global [email protected] | ||
``` | ||
2. For macOS, **with brew**: | ||
|
||
```sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters