Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
Darwcss
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
Darwcss
Commits
bb685b49
Kaydet (Commit)
bb685b49
authored
Ock 01, 2019
tarafından
Batuhan Osman TASKAYA
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
mypy fix
üst
28610d87
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Jenkinsfile
Jenkinsfile
+2
-2
darwcss.py
darwcss/darwcss.py
+1
-1
No files found.
Jenkinsfile
Dosyayı görüntüle @
bb685b49
...
@@ -22,8 +22,8 @@ pipeline {
...
@@ -22,8 +22,8 @@ pipeline {
stage
(
'flake8'
)
{
stage
(
'flake8'
)
{
steps
{
steps
{
sh
""". .venv/bin/activate
sh
""". .venv/bin/activate
flake8 --max-complexity 7 --output-file --ignore E501 flake8_results.txt darwcss/
|| true
flake8 --max-complexity 7 --output-file --ignore E501 flake8_results.txt darwcss/
[ -f flake8_results.txt ] && flake8_junit flake8_results.txt test_flake8.xml;rm flake8_results.txt
|| true
[ -f flake8_results.txt ] && flake8_junit flake8_results.txt test_flake8.xml;rm flake8_results.txt
"""
"""
}
}
}
}
...
...
darwcss/darwcss.py
Dosyayı görüntüle @
bb685b49
...
@@ -203,7 +203,7 @@ class CSS:
...
@@ -203,7 +203,7 @@ class CSS:
@contextmanager
@contextmanager
def
selector
(
self
,
area
:
str
)
->
Generator
[
Selector
,
None
,
None
]:
def
selector
(
self
,
area
:
str
)
->
Generator
[
Selector
,
None
,
None
]:
selector
=
Selector
(
area
,
meta_cfg
=
self
.
conf
)
selector
=
Selector
(
area
,
meta_cfg
=
self
.
conf
)
# type: ignore
try
:
try
:
yield
selector
yield
selector
finally
:
finally
:
...
...
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