Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/fireci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
- run: |
pytest ci/fireci
- run: |
mypy --config-file ci/fireci/setup.cfg ci/fireci/
mypy --config-file ci/fireci/pyproject.toml ci/fireci/
43 changes: 42 additions & 1 deletion ci/fireci/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,44 @@
[build-system]
requires = ["setuptools ~= 58.0"]
requires = ["setuptools ~= 70.0"]
build-backend = "setuptools.build_meta"

[project]
name = "fireci"
version = "0.1"
dependencies = [
"protobuf==3.20.3",
"click==8.1.7",
"google-cloud-storage==2.18.2",
"mypy==1.6.0",
"numpy==1.24.4",
"pandas==1.5.3",
"PyGithub==1.58.2",
"pystache==0.6.0",
"requests==2.31.0",
"seaborn==0.12.2",
"PyYAML==6.0.1",
"termcolor==2.4.0",
"pytest"
]

[project.scripts]
fireci = "fireci.main:cli"

[tool.setuptools]
packages = ["fireci", "fireciplugins"]

[tool.mypy]
strict_optional = false

[[tool.mypy.overrides]]
module = [
"google.cloud",
"matplotlib",
"matplotlib.pyplot",
"pandas",
"pystache",
"requests",
"seaborn",
"yaml"
]
ignore_missing_imports = true
45 changes: 0 additions & 45 deletions ci/fireci/setup.cfg

This file was deleted.

7 changes: 6 additions & 1 deletion ci/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@
# limitations under the License.

set -e
set -x

DIRECTORY=$(cd `dirname $0` && pwd)
pip3 install -e $DIRECTORY/fireci >> /dev/null
python3 -m ensurepip --upgrade
python3 -m pip install --upgrade setuptools
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade wheel
python3 -m pip install -e $DIRECTORY/fireci >> /dev/null
fireci $@
Loading