diff --git a/.github/workflows/linters.yaml b/.github/workflows/linters.yaml index a736465..41bac2d 100644 --- a/.github/workflows/linters.yaml +++ b/.github/workflows/linters.yaml @@ -17,11 +17,11 @@ jobs: runs-on: ubuntu-latest steps: - name: checkout code tree - uses: actions/checkout@v2 - - name: Set up Python 3.7 - uses: actions/setup-python@v2 + uses: actions/checkout@v6 + - name: Set up Python 3.9 + uses: actions/setup-python@v6 with: - python-version: "3.7" + python-version: "3.9" architecture: "x64" - name: Install dependencies run: | @@ -42,5 +42,5 @@ jobs: name: Run REUSE to check license compliance runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: fsfe/reuse-action@v1 + - uses: actions/checkout@v6 + - uses: fsfe/reuse-action@v6 diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index 35e082f..ec5eda8 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -17,11 +17,11 @@ jobs: runs-on: ubuntu-latest steps: - name: checkout code tree - uses: actions/checkout@v2 - - name: Set up Python 3.7 - uses: actions/setup-python@v2 + uses: actions/checkout@v6 + - name: Set up Python 3.9 + uses: actions/setup-python@v6 with: - python-version: "3.7" + python-version: "3.9" architecture: "x64" - name: Install dependencies run: | diff --git a/README.md b/README.md index ca208f1..f806692 100644 --- a/README.md +++ b/README.md @@ -16,3 +16,8 @@ This code is distributed under the Apache 2.0 license, see the [LICENSE](LICENSE ## Getting Started with development There is a specfic document on this at [DEVELOPMENT.md](DEVELOPMENT.md) + + +This is g2! +These are locally made changes to my fork. +No NOW IT's OK. diff --git a/g2.py b/g2.py new file mode 100644 index 0000000..def1538 --- /dev/null +++ b/g2.py @@ -0,0 +1,8 @@ +# SPDX-FileCopyrightText: 2022 Fermi Research Alliance, LLC +# SPDX-License-Identifier: Apache-2.0 + +#!/usr/bin/env python3 +def foo(): + print("Hi") + +foo diff --git a/src/planetsmath/functions.py b/src/planetsmath/functions.py index 5b77524..9fc4399 100644 --- a/src/planetsmath/functions.py +++ b/src/planetsmath/functions.py @@ -24,9 +24,16 @@ def sum_function(list): return sum -def sum_product(list): +def print_hello(): + print("hello!") + + +def sum_product(lists): + def print_hello(): + print("hello!") + product = 1.0 - for item in list: + for item in lists: product *= item return product diff --git a/src/planetsmath/myFile.txt b/src/planetsmath/myFile.txt new file mode 100644 index 0000000..6936e21 --- /dev/null +++ b/src/planetsmath/myFile.txt @@ -0,0 +1,6 @@ +# SPDX-FileCopyrightText: 2022 Fermi Research Alliance, LLC +# SPDX-License-Identifier: Apache-2.0 + +Thunderstorms! +That's my favorite weather! +Why does Fermilab have a tornado shelter? diff --git a/src/planetsmath/myfile_guillermo.txt b/src/planetsmath/myfile_guillermo.txt new file mode 100644 index 0000000..bf0a532 --- /dev/null +++ b/src/planetsmath/myfile_guillermo.txt @@ -0,0 +1,4 @@ +# SPDX-FileCopyrightText: 2022 Fermi Research Alliance, LLC +# SPDX-License-Identifier: Apache-2.0 + +nothing is the best color but everything is my least favorite color \ No newline at end of file