Skip to content

Commit afecaa2

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 9efbe13 commit afecaa2

File tree

167 files changed

+3539
-3547
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

167 files changed

+3539
-3547
lines changed

.dockerignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,3 @@ venv
1919

2020
npm-debug.log
2121
.gitignore
22-

.github/confidentiality-agreement.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Confidentiality Agreement
22

33

4-
By creating an account or using the software or services provided by Nullables.io, Inc., doing business as Nullables.io (the “Corporation”), you (the “Recipient”) expressly accept and agree to be bound by all of the terms and conditions below. If you do not accept these terms, you must not use our software or services.
4+
By creating an account or using the software or services provided by Nullables.io, Inc., doing business as Nullables.io (the “Corporation”), you (the “Recipient”) expressly accept and agree to be bound by all of the terms and conditions below. If you do not accept these terms, you must not use our software or services.
55

66

77
## 1. Background

.github/privacy-policy.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,27 @@
22

33

44
# Introduction
5-
We are committed to protecting your privacy and we encourage you to read and learn more about the terms of our privacy policy (“Privacy Policy”).
5+
We are committed to protecting your privacy and we encourage you to read and learn more about the terms of our privacy policy (“Privacy Policy”).
66

77
When we refer to “Nullables.io”, “our”, “us”, “we”, or similar self-referential language, we are referring to Nullables.io Inc. When we use the terms “you”, “your”, “yours”, “user”, “users”, “customer”, “customers”, etc., we are referring to any and all users of Nullables.io current and future Products and Services.
88

99
Nullables.io provides a variety of Products and Services to our customers, which refers to and includes our website and web applications, mobile applications, integrations for other Third Party Services (such as Slack, Facebook, etc.), and platform, as well as any future applications, products, and services. By visiting, using, or submitting information to any of our Products and Services, you acknowledge that you accept the practices and policies outlined in this Privacy Policy.
1010

11-
Terms not defined herein shall have the meaning as provided in our Terms of Service (the “Agreement”), and incorporated herein.
11+
Terms not defined herein shall have the meaning as provided in our Terms of Service (the “Agreement”), and incorporated herein.
1212

1313

1414
# Data Covered in this Policy
1515
This Privacy Policy covers our treatment of Customer Data (as defined herein) and General Data (defined herein) that we gather when you are accessing or using our Products and Services. This Privacy Policy also covers our treatment of any Customer Data that our business partners share with Nullables.io (for example, via integration with Third Party Services).
1616

17-
This Privacy Policy does not apply to the practices of companies that Nullables.io does not own or control, or to individuals that we do not employ or manage. In addition, this Privacy Policy does not cover how other organizations, including Third Party Services, will treat your information. If integrating our Products and Services with any Third Party Services, please refer to such Third Party Services’ privacy policy.
17+
This Privacy Policy does not apply to the practices of companies that Nullables.io does not own or control, or to individuals that we do not employ or manage. In addition, this Privacy Policy does not cover how other organizations, including Third Party Services, will treat your information. If integrating our Products and Services with any Third Party Services, please refer to such Third Party Services’ privacy policy.
1818

1919

2020
## Customer Data
2121
All content and information that you submit through use of our Products and Services, or that we receive via integration with Third Party Services, that personally identifies you is referred to herein as “Customer Data”.
2222

2323
To create an account, integrate with Third Party Services, or receive information from us about future Products and Services, we may collect such Customer Data as your name and email address. In order to process billing, we may collect such Customer Data as your home or work address, telephone number, and/or credit card information.
2424

25-
However, this information is on an “opt-in” basis only and we will only collect such Customer Data if you specifically and expressly provide the information to us.
25+
However, this information is on an “opt-in” basis only and we will only collect such Customer Data if you specifically and expressly provide the information to us.
2626

2727

2828
## General Data
@@ -31,7 +31,7 @@ In addition to the Customer Data, we may collect the following general informati
3131
- demographic information;
3232
- information from publicly accessible sources, such as blogs and comments from other users;
3333
your visit to the Site, such as pages viewed, links clicked and other similar navigation action in connection with the Site;
34-
- standard browser information, such as your browser type, IP address, access times, and App usage data;
34+
- standard browser information, such as your browser type, IP address, access times, and App usage data;
3535
- location data, which may be available or derived from our App, Site, or your IP address; and
3636
- information about the device on which you are accessing or using the Services.
3737

@@ -86,13 +86,13 @@ We do not sell, rent, lease, or disclose your Data. Except as described in this
8686

8787
We may hire other companies to provide limited administrative and communication services on our behalf, such as web hosting services, the processing and delivery of mailing documents, customer support, or credit card processing services. We have the right to disclose your Data to these third party companies for the purpose of administering and maintaining the features, functions, and operations of our Products and Services.
8888

89-
Those companies will be permitted to obtain only such Data as is absolutely necessary for them to deliver their respective services, and we do not authorize these companies to use your Data except for the sole purpose of providing those services requested by us.
89+
Those companies will be permitted to obtain only such Data as is absolutely necessary for them to deliver their respective services, and we do not authorize these companies to use your Data except for the sole purpose of providing those services requested by us.
9090

9191

9292
## Integration with Third Party Services
9393
In order to access and/or use our Products and Services, you may be required to integrate them with your existing Third Party Services. While we do not store your passwords for these Third Party Services, we may store revokable tokens, enabling Services to communicate with each other.
9494

95-
If you integrate our Products and Services with a Third Party Service, we are not responsible for how such a service would use, collect, and share your Data. We very much encourage you to review privacy policy of any such Third Party Services.
95+
If you integrate our Products and Services with a Third Party Service, we are not responsible for how such a service would use, collect, and share your Data. We very much encourage you to review privacy policy of any such Third Party Services.
9696

9797

9898
## Disclosure of Customer Data
@@ -103,13 +103,13 @@ You understand and agree that we may access and/or disclose Data about you witho
103103
- enforce the terms of the Agreement and Privacy Policy;
104104
- operate or conduct maintenance and repair of the Site, the App or equipment as authorized by law;
105105
- act in urgent circumstances to protect the personal safety of our users or members of the public; or
106-
- comply with a bankruptcy, merger, acquisition, transfer of control, joint venture of other business combination.
106+
- comply with a bankruptcy, merger, acquisition, transfer of control, joint venture of other business combination.
107107

108-
While we are not required to question or contest the validity of any search warrant, subpoena or other similar governmental request that we receive, we will use reasonable efforts to ensure the privacy of our users, and safeguard against overreach.
108+
While we are not required to question or contest the validity of any search warrant, subpoena or other similar governmental request that we receive, we will use reasonable efforts to ensure the privacy of our users, and safeguard against overreach.
109109

110110

111111
## Disclosure of Data in Certain Transactions
112-
In some cases, we may choose to sell our assets. In these types of transactions, user information is typically one of the business assets that is transferred. You acknowledge that such transfers may occur, and that any acquirer of Nullables.io may continue to use your Data as set forth in this Privacy Policy.
112+
In some cases, we may choose to sell our assets. In these types of transactions, user information is typically one of the business assets that is transferred. You acknowledge that such transfers may occur, and that any acquirer of Nullables.io may continue to use your Data as set forth in this Privacy Policy.
113113

114114

115115
# Security of Customer Data

.github/scripts/close-pending.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
66
MESSAGE=$(cat "$SCRIPT_DIR"/closing-message.txt)
77

88
while IFS= read -r number &&
9-
IFS= read -r title; do
9+
IFS= read -r title; do
1010
echo "Closing PR ($number): $title"
1111
curl -s -o /dev/null \
1212
-X POST \
@@ -21,7 +21,7 @@ while IFS= read -r number &&
2121
--header "authorization: Bearer $GITHUB_TOKEN" \
2222
--header 'content-type: application/json' \
2323
"https://api.github.com/repos/AlexRogalskiy/object-mappers-playground/pulls/$number"
24-
done < <(curl -H "Content-Type: application/json" \
25-
--header "authorization: Bearer $GITHUB_TOKEN" \
26-
"https://api.github.com/search/issues?q=repo:AlexRogalskiy/object-mappers-playground+type:pr+updated:<$(date -d "-21 days" +%Y-%m-%d)+label:pending+is:open" |
27-
jq -r '.items[] | (.number,.title)')
24+
done < <(curl -H "Content-Type: application/json" \
25+
--header "authorization: Bearer $GITHUB_TOKEN" \
26+
"https://api.github.com/search/issues?q=repo:AlexRogalskiy/object-mappers-playground+type:pr+updated:<$(date -d "-21 days" +%Y-%m-%d)+label:pending+is:open" |
27+
jq -r '.items[] | (.number,.title)')

.github/scripts/comment-commands/ready.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ MESSAGE="Blocking review request is removed."
55
URL="$(jq -r '.issue.pull_request.url' "$GITHUB_EVENT_PATH")/reviews"
66
set +x #GITHUB_TOKEN
77
curl -s "$URL" |
8-
jq -r '.[] | [.user.login, .id] | @tsv' |
9-
grep github-actions |
10-
awk '{print $2}' |
11-
xargs -n1 -IISSUE_ID curl -s -o /dev/null \
12-
-X PUT \
13-
--data "$(jq --arg message "$MESSAGE" -n '{message: $message}')" \
14-
--header "authorization: Bearer $GITHUB_TOKEN" \
15-
"$URL"/ISSUE_ID/dismissals
8+
jq -r '.[] | [.user.login, .id] | @tsv' |
9+
grep github-actions |
10+
awk '{print $2}' |
11+
xargs -n1 -IISSUE_ID curl -s -o /dev/null \
12+
-X PUT \
13+
--data "$(jq --arg message "$MESSAGE" -n '{message: $message}')" \
14+
--header "authorization: Bearer $GITHUB_TOKEN" \
15+
"$URL"/ISSUE_ID/dismissals
1616

1717
curl -s -o /dev/null \
1818
-X DELETE \

.github/scripts/comment-commands/retest.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ git push
3131
${code}
3232
EOF
3333

34-
# member AND modification allowed by PR author
35-
# OR
36-
# repo owner
37-
# =>
38-
# include steps to fetch branch
34+
# member AND modification allowed by PR author
35+
# OR
36+
# repo owner
37+
# =>
38+
# include steps to fetch branch
3939
elif [[ "${maintainer_can_modify}" == "true" ]] && [[ "${assoc}" == "MEMBER" ]] || [[ "${assoc}" == "OWNER" ]]; then
4040
cat <<-EOF
4141
To re-run CI checks, please follow these steps:
@@ -47,9 +47,9 @@ git push "${source_repo}" HEAD:"${branch}"
4747
${code}
4848
EOF
4949

50-
# other folks
51-
# =>
52-
# ping author
50+
# other folks
51+
# =>
52+
# ping author
5353
else
5454
cat <<-EOF
5555
@${pr_owner} please trigger new CI check by following these steps:

.github/scripts/process-comment.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ if [ "$LINES" == "0" ]; then
1717
# shellcheck disable=SC2124
1818
RESPONSE="> $BODY
1919
20-
Script execution has been failed with exit code $EXIT_CODE. Please check the output of the github action run to get more information.
21-
\`\`\`
22-
$RESPONSE
23-
\`\`\`
24-
"
20+
Script execution has been failed with exit code $EXIT_CODE. Please check the output of the github action run to get more information.
21+
\`\`\`
22+
$RESPONSE
23+
\`\`\`
24+
"
2525
fi
2626
else
2727
RESPONSE="No such command. \`$COMMAND\` $("$SCRIPT_DIR/comment-commands/help.sh")"

.github/workflows/action-devto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
with:
1818
api-key: ${{ secrets.DEVTO_API_KEY }}
1919
directory: ./docs/articles
20-
ignore: default.md.tpl
20+
ignore: default.md.tpl

.github/workflows/blogpost-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ jobs:
7676
with:
7777
max_post_count: "10"
7878
comment_tag_name: "DEVCASES-POST-LIST"
79-
feed_list: "https://devcases.com/feed/"
79+
feed_list: "https://devcases.com/feed/"

.github/workflows/pagespeed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ jobs:
4141
commit_options: '--no-verify --signoff'
4242
commit_user_name: GitHub Bot
4343
commit_user_email: github-actions@nullables.io
44-
commit_author: GitHub Bot <github-actions@nullables.io>
44+
commit_author: GitHub Bot <github-actions@nullables.io>

0 commit comments

Comments
 (0)