Skip to content

Commit 5304009

Browse files
committed
improvements towards manually removing non required comments
1 parent ddc031d commit 5304009

14 files changed

+13
-19
lines changed

normalize_repos/.flake8

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[flake8]
2-
extend-exclude=docs/,node_modules/,venv/
3-
max-line-length = 79
2+
max-line-length = 79
3+
insert_final_newline = true

normalize_repos/Pipfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ verify_ssl = true
77
allow_prereleases = true
88

99
[dev-packages]
10-
ipython = "*"
11-
isort = "*"
1210
black = "==20.8b1"
1311
flake8 = "*"
12+
ipython = "*"
13+
isort = "*"
1414

1515
[packages]
1616
PyGithub = "*"

normalize_repos/get_labels.py

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import yaml
66

77
# First-party/Local
8-
# Local/library specific
98
from models import Group, Label
109

1110

normalize_repos/models.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Local/library specific
21
# First-party/Local
32
from utils import COLORS
43

normalize_repos/set_labels.py

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import logging
33

44
# First-party/Local
5-
# Local/library specific
65
import log
76

87
logger = logging.getLogger("normalize_repos")

push_data_to_ccos/.flake8

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[flake8]
2-
extend-exclude=docs/,node_modules/,venv/
3-
max-line-length = 79
2+
max-line-length = 79
3+
insert_final_newline = true

push_data_to_ccos/Pipfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ allow_prereleases = true
88

99
[dev-packages]
1010
black = "==20.8b1"
11-
isort = "*"
1211
flake8 = "*"
12+
isort = "*"
1313

1414
[packages]
1515
asana = "*"

push_data_to_ccos/get_repo_data.py

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from github.GithubException import GithubException, UnknownObjectException
99

1010
# First-party/Local
11-
# Local
1211
from push_data_via_git import GITHUB_ORGANIZATION, GITHUB_TOKEN
1312

1413
CC_METADATA_FILE_NAME = ".cc-metadata.yml"

push_data_to_ccos/push_data_via_git.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env python3
22
# vim: set fileencoding=utf-8:
3+
34
# Standard library
45
import json
56
import os

push_data_to_ccos/sync_data.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#!/usr/bin/env python3
22
# vim: set fileencoding=utf-8:
3+
34
# Standard library
45
import argparse
56

67
# First-party/Local
7-
# Local
88
from get_community_team_data import get_community_team_data
99
from get_repo_data import get_repo_data
1010
from push_data_via_git import push_data

sync_community_team/.flake8

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[flake8]
2-
extend-exclude=docs/,node_modules/,venv/
3-
max-line-length = 79
2+
max-line-length = 79
3+
insert_final_newline = true

sync_community_team/Pipfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ url = "https://pypi.org/simple"
44
verify_ssl = true
55

66
[dev-packages]
7-
ipython = "*"
87
black = "==20.8b1"
9-
isort = "*"
108
flake8 = "*"
9+
ipython = "*"
10+
isort = "*"
1111

1212
[packages]
1313
PyGithub = "*"

sync_community_team/set_codeowners.py

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import git
99

1010
# First-party/Local
11-
# Local
1211
from set_teams_on_github import map_role_to_team
1312
from utils import (
1413
GITHUB_ORGANIZATION,

sync_community_team/set_teams_on_github.py

-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
# Third party
21
# Third-party
32
from github import UnknownObjectException
43

54
# First-party/Local
6-
# Local
75
from utils import get_cc_organization, get_team_slug_name, set_up_github_client
86

97
PERMISSIONS = {

0 commit comments

Comments
 (0)