Commit Graph

15 Commits

Author SHA1 Message Date
Kavon Farvardin
b5e0f95a18 eliminate pipes in favor of shlex
This solves deprecation warnings in build-script:

```
DeprecationWarning: 'pipes' is deprecated and slated for removal in Python 3.13
```

This change assumes that the minimum version
of Python3 is 3.3, which has `shlex.quote`.

Since our build bots currently use 3.6 as their
Python version, we can't yet use `shlex.join`
to further simplify some of the code using
quote.
2023-07-25 15:24:54 -07:00
Daniel Duan
3dfc40898c [NFC] Remove Python 2 imports from __future__ (#42086)
The `__future__` we relied on is now,  where the 3 specific things are
all included [since Python 3.0](https://docs.python.org/3/library/__future__.html):

* absolute_import
* print_function
* unicode_literals
* division

These import statements are no-ops and are no longer necessary.
2022-04-13 14:01:30 -07:00
Max Desiatov
33bc25be80 Fix remaining hardcoded references to x86_64 2020-12-08 17:12:23 +00:00
Hugh Bellamy
aa70ea8fdd Remove a 9 from overly high timeouts 2017-03-31 09:58:39 +07:00
Hugh Bellamy
ad4b338062 Fix python lint failures now not excluded as we provide custom exclusions
Looks like flake8 enables other rules when you add something to the
exclusion list. We added W291
2017-03-27 12:31:56 +07:00
Hugh Bellamy
8671854674 Properly python lint remaining files 2017-03-23 14:06:46 +07:00
Michael Gottesman
e955e53875 [coverage] Add a preset for generating coverage data and have coverage-generate-data script use that.
Previously, this was done by hand in the coverage-generate-data script. Lets
formalize this into a preset.

I am trying to see if with a slight bit of work I can get coverage working again
since it will help me write SILGen tests.
2017-03-02 18:14:49 -08:00
Hugh Bellamy
a5e7514197 Prefer the print function to the print statment in python code 2017-02-20 11:12:21 +07:00
Hugh Bellamy
4f23d61da0 Import print_function wherever we use print() in python code 2017-02-20 11:11:27 +07:00
Hugh Bellamy
98ee1587b8 Python lint coverage-generate-data 2017-02-09 18:15:07 +07:00
Hugh Bellamy
081987fc74 Python lint coverage-query-db 2017-02-09 18:15:07 +07:00
practicalswift
6d1ae2a39c [gardening] 2016 → 2017 2017-01-06 16:41:22 +01:00
practicalswift
797b80765f [gardening] Use the correct base URL (https://swift.org) in references to the Swift website
Remove all references to the old non-TLS enabled base URL (http://swift.org)
2016-11-20 17:36:03 +01:00
Luke Larson
4e6ac7e3d4 [coverage] Add database querying script 2016-09-28 13:40:28 -07:00
Luke Larson
092f208464 [coverage] Move scripts to coverage directory 2016-09-28 13:39:40 -07:00