Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run CI pipeline on pull requests #261

Closed
wants to merge 2 commits into from
Closed
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
4 changes: 3 additions & 1 deletion .github/workflows/tox.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: ci

on: [push]
on:
- push
- pull_request

jobs:
build:
Expand Down
6 changes: 3 additions & 3 deletions src/shiv/bootstrap/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"""
import json
import os
from typing import Any, Optional
from typing import Any, Dict, Optional


def str_bool(v) -> bool:
Expand Down Expand Up @@ -35,7 +35,7 @@ def __init__(
entry_point: Optional[str] = None,
extend_pythonpath: bool = False,
prepend_pythonpath: Optional[str] = None,
hashes: Optional[dict[str, Any]] = None,
hashes: Optional[Dict[str, Any]] = None,
no_modify: bool = False,
reproducible: bool = False,
script: Optional[str] = None,
Expand All @@ -46,7 +46,7 @@ def __init__(
self.always_write_cache: bool = always_write_cache
self.build_id: Optional[str] = build_id
self.built_at: str = built_at
self.hashes: Optional[dict[str, Any]] = hashes or {}
self.hashes: Optional[Dict[str, Any]] = hashes or {}
self.no_modify: bool = no_modify
self.reproducible: bool = reproducible
self.preamble: Optional[str] = preamble
Expand Down
Loading