Commit graph

51 commits

Author SHA1 Message Date
Gil Forsyth
9bb91a0b4b
Cleanup remaining vended ptk bits (#4130) 2021-03-01 16:55:23 -05:00
Noorhteen Raja NJ
80aca856e4
refactor: convert prompt_ret_code to be a py file (#4032)
to take advantage of flake/coverage
2021-01-12 13:35:38 -05:00
Noortheen Raja
0c2c8d1061 chore: update test runner to not show traceback if tests fail 2020-11-10 11:07:40 +05:30
Noortheen Raja
8c88030d6b refactor: some backlog from when flake8 setup 2020-11-08 23:31:10 +05:30
Anthony Scopatz
3afd5430a0
Procs Initial Refactor (#3897)
* refectored builtins

* refectored posix and readers

* refectored posix and readers

* proxies

* pipelines

* basic procs import cleanup

* fixed / refactored tests

* procs docs

* amalgamate

* XONSH_DEBUG=1 in tests

* exclude xonsh.procs mypy

* Use `pip install` instead of `python setup.py install`

* Update docs/api/procs/pipelines.rst

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>

Co-authored-by: Gil Forsyth <gil@forsyth.dev>
Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
2020-10-20 10:21:11 -04:00
Noorhteen Raja NJ
fd597e6971
chore (ci): improve ci workflows and deps management (#3873)
* chore (ci): improve elm job speed by caching

* chore (ci): update ci generator script to be run from any dir

* chore: update pre-commit to use local black binary

* chore: mypy config skip amalgam generated modules

* chore: run-tests.xsh parameterisation

use argparser to make this file a cli

* feat: use requirements.txt during CI

* feat: run black/flake8/mypy during ci from pip-env

* chore: mypy version 0.790 fix

since the loose pinning on mypy version causes new PRs to fail

* refactor: update github actions template

remove poetry/environment.yml files
2020-10-19 11:52:37 -04:00
Noortheen Raja
197251e818 fix: during amalgamate it removes type-ignore comments 2020-10-09 20:19:09 +05:30
Noortheen Raja
68e723917b chore: update mypy config for different platforms 2020-10-09 20:19:09 +05:30
Noortheen Raja
609e9304e9 feat: add mypy to project 2020-10-09 20:19:09 +05:30
Noortheen Raja
64efb3b3df feat: integrate flake8-docstring
most of the rules are disabled since it will take longer to fix them all

maybe in future version we can fix them one by one
2020-09-30 16:07:58 +05:30
Bob Hyman
409bea12bd First round doc update getting started. 2020-08-19 04:20:05 -04:00
Anthony Scopatz
377ab8d9de
Merge pull request #3662 from bobhy/is_3661
drop dependence on py.exe on Windows
2020-08-11 20:12:01 -04:00
Morten Enemark Lund
d855431f5e Exclude wcwidth from flake8/black tests 2020-08-10 12:43:25 +02:00
Morten Enemark Lund
1acfeb771f Merge remote-tracking branch 'remotes/origin/master' into vend_ptk 2020-08-10 11:22:57 +02:00
Bob Hyman
c22e80b717 Fix test dependency on xonsh.bat (and xon.sh) 2020-08-10 00:42:36 -04:00
Anthony Scopatz
c3c58efb5e other flake skips 2020-08-09 15:08:56 -05:00
Morten Enemark Lund
df55eab0b4 Exclude veded ptk from black and flake8 checks 2020-08-06 10:06:23 +02:00
Bob Hyman
c03178de17 Merge branch 'flake8_in_CI' of https://github.com/bobhy/xonsh into flake8_in_CI 2020-05-09 10:34:40 -04:00
Bob Hyman
29644e404d Test that flake8 error actually fails CI 2020-05-09 10:24:28 -04:00
Bob Hyman
910fb42f78 Test that flake8 error actually fails CI; don't show stacktrace for flake8 failure 2020-05-09 09:29:04 -04:00
Bob Hyman
a6bb5e2d56 Run (pure) flake8 in CI; deprecate config for pytest-flake8 2020-05-06 22:49:11 -04:00
Bob Hyman
26475146e2
Flake8 1 (#3550)
* flake8 fixes -- tests only

* fix ci failure

* integrate fix from is_3551 so tests will pass.

* Update tests/test_builtins.py

Co-authored-by: Gil Forsyth <gforsyth@users.noreply.github.com>
2020-05-05 06:42:28 -04:00
Bob Hyman
94ac8f67f5
black-fix - split from ls_color for separate review (#3431)
* black-fix - split from ls_color for separate review
2020-02-14 09:09:34 -05:00
Anthony Scopatz
b494de1541 E203 whitespace before ':' 2018-08-30 23:06:30 -05:00
Morten Enemark Lund
e11fa92d63 pep8 2018-08-21 14:30:22 +02:00
Anthony Scopatz
d6dd55502f some more flake fixes 2018-08-02 23:27:12 -04:00
Morten Enemark Lund
2e064dd630 Alternative way to exclude pygments_cache from flake8 2018-07-21 22:19:25 +02:00
Gil Forsyth
54585a9a77 Update pytest syntax in setup.cfg
This warning has been popping up for ages, so I've finally made the
change.  Time to see what else breaks.
2018-07-20 13:47:15 -04:00
Anthony Scopatz
f67f405c70 fix linting 2018-06-17 12:23:18 -04:00
Anthony Scopatz
060d4acb75 exclude external projects 2018-06-03 18:00:42 -04:00
Gil Forsyth
aafa7ae3d9 Add exceptions to ignore flake8 errors for 3.6
These should be fixed, but outside of the scope of this.
2018-03-12 12:09:58 -04:00
Gil Forsyth
4efc8e36a3 ignore F821 in style_tools 2017-01-27 11:19:33 -05:00
Anthony Scopatz
5f4ae724fa some flake fixes 2016-10-29 17:37:08 -04:00
Gil Forsyth
214f430c30 fix setup.cfg so pytest respects it 2016-10-07 10:40:42 -04:00
Anthony Scopatz
c3b7456d87 some test fiexes 2016-09-06 22:52:13 -04:00
Anthony Scopatz
ef29136133 some flake8 fixes 2016-08-21 09:59:20 -04:00
Konstantinos Tsakiltzidis
ac14dca51e flake8tify 2016-08-10 17:29:02 +03:00
Gil Forsyth
1c11adbe5e add missing quote-mark and disable flake8 E128 2016-07-24 10:05:23 -04:00
Leonardo Santagada
4c7ac84ab6 ignore vox.py undefined stuff 2016-07-21 00:16:03 +02:00
Leonardo Santagada
ecf6beb735 fix new pep8 problems after merge 2016-07-20 22:28:27 +02:00
Leonardo Santagada
51b3c98589 Merge remote-tracking branch 'upstream/master' into remove-flake8-exceptions 2016-07-20 22:15:56 +02:00
Leonardo Santagada
4337b1489b revert changes based on review 2016-07-20 22:07:45 +02:00
laerus
ed4efb4317 'ingore pep8 E124 E129 visual indendation line/parens' 2016-07-20 16:10:16 +03:00
Anthony Scopatz
34c7dcfe10 don't run flake8 for all pytets 2016-07-18 20:16:41 -04:00
Leonardo Santagada
a00263cb2a big style changes 2016-07-18 11:54:54 +02:00
Leonardo Santagada
61099aab10 small style changes 2016-07-18 11:30:57 +02:00
Leonardo Santagada
18f5821c8b removing flake erros 2016-07-18 09:59:58 +02:00
Leonardo Santagada
723ede5091 need to allow even longer lines to not break the build now. 2016-07-17 14:09:11 +02:00
Leonardo Santagada
426ecdacee remove remaining errors 2016-07-15 11:44:55 +02:00
Leonardo Santagada
d01daa1928 ignore more errors 2016-07-15 09:37:09 +02:00