Skip to content

Commit

Permalink
Update on notebook basic_datatypes (#256)
Browse files Browse the repository at this point in the history
* Fixed some issues, added some exercises and
rewrote some of the text.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Commiting "is None" for flake8

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Added Split and len to methods for strings.

* Added docstrings to exercises and changed 1 exercise

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Fixing some minor mistakes in the basic datatypes notebook

* Update tutorial/tests/test_basic_datatypes.py

Fixing an error I missed causing all the exercises to break.

Co-authored-by: Despina Adamopoulou <[email protected]>

* Fixes for Review of Simone

* Fixing popitem() description

* Added error formating and complex to float example

* pre-commit adjusts

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* making typehints more consistent

* fix on fistandlastelement

* List can contain strings

* fix list comment

* Import in cells and rounding down

* Update basic_datatypes.ipynb

Co-authored-by: Aliaksandr Yakutovich <[email protected]>

* spread lines in unpacking section and fix my_list3

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update basic_datatypes.ipynb

* Update basic_datatypes.ipynb

Co-authored-by: Edoardo Baldi <[email protected]>

* Update basic_datatypes.ipynb

Co-authored-by: Edoardo Baldi <[email protected]>

* Update basic_datatypes.ipynb

Co-authored-by: Edoardo Baldi <[email protected]>

* Adhere to the 'only one line per sentence' rule

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Despina Adamopoulou <[email protected]>
Co-authored-by: Aliaksandr Yakutovich <[email protected]>
Co-authored-by: edoardob90 <[email protected]>
Co-authored-by: Edoardo Baldi <[email protected]>
  • Loading branch information
6 people authored Nov 26, 2024
1 parent 7bce206 commit 432fcfd
Show file tree
Hide file tree
Showing 3 changed files with 479 additions and 86 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ repos:
types_or: [python, pyi]
args: [--fix]
name: ruff (fix)
# Ruff formatter
- id: ruff-format
# Ruff formatter
types_or: [python, pyi]
name: ruff (format)
- repo: https://github.com/google/yamlfmt
Expand Down
Loading

0 comments on commit 432fcfd

Please sign in to comment.