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

ameshアップデート2022/05 #997

Merged
merged 49 commits into from
Nov 5, 2022
Merged
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
0bd1cc7
新しいマップエンジンにする
m77so May 7, 2022
12217bf
鳩は唐揚げ!(自動で直してあげたよ!)
github-actions[bot] May 7, 2022
85b5ed0
Merge pull request #998 from dev-hato/fix-format-amesh-new-engine
m77so May 7, 2022
5b1536c
fix module path
m77so May 7, 2022
3a392f5
add opencv, update pillow
m77so May 7, 2022
4cb976d
pr-formatでPipfile.lockの差分のPRが出るようにする
massongit May 7, 2022
a3babc1
条件修正
massongit May 7, 2022
72f69e6
Merge pull request #999 from dev-hato/fix_format_ci
massongit May 7, 2022
db9371f
鳩は唐揚げ!(自動で直してあげたよ!)
github-actions[bot] May 7, 2022
5091bc8
Merge pull request #1002 from dev-hato/fix-format-amesh-new-engine
m77so May 7, 2022
114893c
add opencv lib
m77so May 7, 2022
8039b96
fix
m77so May 7, 2022
452bc1f
fix library path
m77so May 7, 2022
6b69c3d
fix timestamp
m77so May 7, 2022
a9bc17e
fix for test
m77so May 7, 2022
8624746
Update library/hatomap.py
m77so May 7, 2022
5fec142
fix inttelij linter
m77so May 7, 2022
61da57e
fix for test
m77so May 7, 2022
e453152
鳩は唐揚げ!(自動で直してあげたよ!)
github-actions[bot] May 7, 2022
a65fcf0
Merge pull request #1005 from dev-hato/fix-format-amesh-new-engine
m77so May 7, 2022
02b6288
apply review
m77so May 7, 2022
49cb33d
Merge branch 'amesh-new-engine' of github.com:dev-hato/hato-bot into …
m77so May 7, 2022
6a8b889
dont check cv2
m77so May 7, 2022
f80cd38
apply linter
m77so May 7, 2022
17363e1
Update library/jma_amesh.py
m77so May 7, 2022
3f30c99
fix cv2
m77so May 7, 2022
ff56f7f
Merge branch 'amesh-new-engine' of github.com:dev-hato/hato-bot into …
m77so May 7, 2022
3e7eb8a
Update .python-lint
m77so May 7, 2022
8e517a7
Update library/hatomap.py
m77so May 7, 2022
ab4574d
鳩は唐揚げ!(自動で直してあげたよ!)
github-actions[bot] May 7, 2022
5c99d08
Merge pull request #1006 from dev-hato/fix-format-amesh-new-engine
m77so May 8, 2022
48c0faf
fix for cv2
m77so May 10, 2022
40a3331
add alpha
m77so May 10, 2022
1111974
Merge branch 'develop' into amesh-new-engine
m77so Jun 4, 2022
a7e56d9
鳩は唐揚げ!(自動で直してあげたよ!)
github-actions[bot] Jun 4, 2022
5c5ce0f
Merge pull request #1048 from dev-hato/fix-version-pre-commit-config-…
m77so Jun 4, 2022
7229fa2
鳩は唐揚げ!(自動で直してあげたよ!)
github-actions[bot] Jun 4, 2022
a1a0bf7
Merge pull request #1008 from dev-hato/fix-format-amesh-new-engine
nakkaa Jul 15, 2022
c8f61eb
merge commit
m77so Jul 29, 2022
b46caf4
Merge branch 'develop' into amesh-new-engine
m77so Jul 29, 2022
6ca6206
formatが間違ってたので直してあげたよ!
github-actions[bot] Jul 29, 2022
775e68f
Merge pull request #1299 from dev-hato/fix-format-amesh-new-engine
m77so Aug 2, 2022
c271f30
fix git
m77so Aug 2, 2022
83e343a
formatが間違ってたので直してあげたよ!
github-actions[bot] Aug 2, 2022
2e42d45
Merge pull request #1309 from dev-hato/fix-format-amesh-new-engine
m77so Aug 2, 2022
3e66b2e
add ipa font license files
m77so Aug 2, 2022
8dec1c4
fix super linter format
m77so Aug 2, 2022
4ebd592
formatが間違ってたので直してあげたよ!
github-actions[bot] Aug 2, 2022
4c23a4a
Merge pull request #1310 from dev-hato/fix-format-amesh-new-engine
m77so Aug 2, 2022
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
24 changes: 9 additions & 15 deletions .github/workflows/pr-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ jobs:
continue-on-error: true
# 差分があったときは差分を出力する
- name: Show diff
if: ${{ steps.install_pipenv.outcome == 'failure'
|| steps.format.outcome == 'failure' }}
id: diff
run: |
git diff
result=$(git diff)
echo "::set-output name=result::$result"
- run: |
REPO_NAME="${{ github.event.pull_request.head.repo.full_name }}"
echo "REPO_NAME=${REPO_NAME}" >> "${GITHUB_ENV}"
Expand All @@ -80,8 +80,7 @@ jobs:
env:
HEAD_REF: ${{github.event.pull_request.head.ref}}
if: ${{ env.REPO_NAME == github.repository
&& (steps.install_pipenv.outcome == 'failure'
|| steps.format.outcome == 'failure') }}
&& steps.diff.outputs.result != '' }}
run: |
git config user.name "github-actions[bot]"
EMAIL="41898282+github-actions[bot]@users.noreply.github.com"
Expand All @@ -107,8 +106,7 @@ jobs:
env:
HEAD_REF: ${{github.event.pull_request.head.ref}}
if: ${{ env.REPO_NAME == github.repository
&& (steps.install_pipenv.outcome == 'failure'
|| steps.format.outcome == 'failure') }}
&& steps.diff.outputs.result != '' }}
id: get_pull_requests
with:
github-token: ${{secrets.GITHUB_TOKEN}}
Expand All @@ -131,8 +129,7 @@ jobs:
env:
HEAD_REF: ${{github.event.pull_request.head.ref}}
if: ${{ env.REPO_NAME == github.repository
&& (steps.install_pipenv.outcome == 'failure'
|| steps.format.outcome == 'failure')
&& steps.diff.outputs.result != ''
&& steps.get_pull_requests.outputs.result == 0 }}
id: create_pull_request
with:
Expand All @@ -158,8 +155,7 @@ jobs:
- name: Assign a user
uses: actions/github-script@v6
if: ${{ env.REPO_NAME == github.repository
&& (steps.install_pipenv.outcome == 'failure'
|| steps.format.outcome == 'failure')
&& steps.diff.outputs.result != ''
&& steps.get_pull_requests.outputs.result == 0
&& github.event.pull_request.user.login != 'dependabot[bot]' }}
with:
Expand All @@ -180,8 +176,7 @@ jobs:
env:
HEAD_REF: ${{github.event.pull_request.head.ref}}
if: ${{ env.REPO_NAME == github.repository
&& (steps.install_pipenv.outcome != 'failure'
&& steps.format.outcome != 'failure') }}
&& steps.diff.outputs.result == '' }}
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand Down Expand Up @@ -217,6 +212,5 @@ jobs:
await github.rest.git.deleteRef(git_deleteRef_params)
}
- name: Exit
if: ${{ steps.install_pipenv.outcome == 'failure'
|| steps.format.outcome == 'failure' }}
if: steps.diff.outputs.result != ''
run: exit 1
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ COPY Pipfile Pipfile

# Pythonライブラリのインストール時に必要なパッケージ (Pythonライブラリインストール後にアンインストール)
# * git: Pythonライブラリのインストールの際に必要
# * libopencv-dev: OpenCV
RUN apt-get update && \
apt-get install -y --no-install-recommends git && \
apt-get install -y --no-install-recommends git libopencv-dev && \
massongit marked this conversation as resolved.
Show resolved Hide resolved
pip install pipenv==2022.5.2 --no-cache-dir && \
pipenv install --system --skip-lock && \
pip uninstall -y pipenv virtualenv && \
Expand Down
3 changes: 2 additions & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ mypy = "==0.950"
[packages]
python-dotenv = "==0.20.0"
requests = "==2.27.1"
Pillow = ">=7.1.2"
Pillow = ">=9.1.0"
opencv-python = "==4.5.5.64"
pyperclip = "==1.8.2"
click = "==8.0.3"
sudden-death = {git = "https://github.com/dev-hato/sudden-death", ref = "master"}
Expand Down
21 changes: 17 additions & 4 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added library/assets/ipag.ttf
Binary file not shown.
Loading