Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
e00e1b81
Kaydet (Commit)
e00e1b81
authored
Eyl 07, 2017
tarafından
Miss Islington (bot)
Kaydeden (comit)
Nick Coghlan
Eyl 07, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
[3.6] Update `make patchcheck` for blurb and NEWS.d (GH-3406)
(cherry picked from commit
1ba9469e
)
üst
1fc47b40
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
patchcheck.py
Tools/scripts/patchcheck.py
+5
-5
No files found.
Tools/scripts/patchcheck.py
Dosyayı görüntüle @
e00e1b81
...
...
@@ -211,10 +211,11 @@ def credit_given(file_paths):
return
os
.
path
.
join
(
'Misc'
,
'ACKS'
)
in
file_paths
@status
(
"Misc/NEWS
updated
"
,
modal
=
True
)
@status
(
"Misc/NEWS
.d updated with `blurb`
"
,
modal
=
True
)
def
reported_news
(
file_paths
):
"""Check if Misc/NEWS has been changed."""
return
os
.
path
.
join
(
'Misc'
,
'NEWS'
)
in
file_paths
"""Check if Misc/NEWS.d has been changed."""
return
any
(
p
.
startswith
(
os
.
path
.
join
(
'Misc'
,
'NEWS.d'
,
'next'
))
for
p
in
file_paths
)
@status
(
"configure regenerated"
,
modal
=
True
,
info
=
str
)
def
regenerated_configure
(
file_paths
):
...
...
@@ -260,8 +261,7 @@ def main():
c_files
=
[
fn
for
fn
in
file_paths
if
fn
.
endswith
((
'.c'
,
'.h'
))]
doc_files
=
[
fn
for
fn
in
file_paths
if
fn
.
startswith
(
'Doc'
)
and
fn
.
endswith
((
'.rst'
,
'.inc'
))]
misc_files
=
{
os
.
path
.
join
(
'Misc'
,
'ACKS'
),
os
.
path
.
join
(
'Misc'
,
'NEWS'
)}
\
&
set
(
file_paths
)
misc_files
=
{
p
for
p
in
file_paths
if
p
.
startswith
(
'Misc'
)}
# PEP 8 whitespace rules enforcement.
normalize_whitespace
(
python_files
)
# C rules enforcement.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment