#6634 Add a Makefile with a `check` target
Closed 3 years ago by walters. Opened 3 years ago by walters.
walters/releng use-flake8  into  master

Add a Makefile with a `check` target
Colin Walters • 3 years ago  
2wkatomic: Fix apparent copy/pasto
Colin Walters • 3 years ago  
file added
+2
@@ -0,0 +1,2 @@ 

+ check:

+ 	flake8-2 --ignore=W503,E131,E501,E226,E302,E265,E303 scripts/push-two-week-atomic.py

@@ -27,13 +27,11 @@ 

  import sys

  import json

  import glob

- import time

  import shutil

  import fnmatch

  import smtplib

  import argparse

  import logging

- import datetime

  import subprocess

  

  import requests
@@ -658,11 +656,6 @@ 

  

      log.info("Moving tree commit %s => %s (%s)", previous_commit, tree_commit, tree_version)

      move_tree_commit(pargs.release, previous_commit, tree_commit)

-     if subprocess.call(rsync_cmd):

-         log.error(

-             "stage_atomic_release: rsync command failed: {}".format(rsync_cmd)

-         )

-         exit(3)

  

      log.info("Staging release content in /pub/alt/atomic/stable/")

      stage_atomic_release(compose_id)

So we can flake8 things.

rebased

3 years ago

rebased

3 years ago

2 new commits added

  • Add a Makefile with a check target
  • 2wkatomic: Fix apparent copy/pasto
3 years ago

rebased

3 years ago

Pull-Request has been closed by walters

3 years ago
Metadata