1. 22 Dec, 2019 2 commits
    • Aymeric Augustin's avatar
      Remove unittest.main() in test modules. · 7e98e211
      Aymeric Augustin authored
      This construct isn't used anymore these days.
      
      Running python tests/test_foo.py puts the tests/ directory on
      PYTHONPATH, which isn't representative of how we run tests.
      
      Use python -m unittest tests/test_foo.py instead.
      7e98e211
    • Aymeric Augustin's avatar
      Sort imports with isort. · 158e82e0
      Aymeric Augustin authored
      This is the result of:
      
          $ isort --recursive examples templates transformers utils hubconf.py setup.py
      158e82e0
  2. 21 Dec, 2019 1 commit
    • Aymeric Augustin's avatar
      Reformat source code with black. · fa84ae26
      Aymeric Augustin authored
      This is the result of:
      
          $ black --line-length 119 examples templates transformers utils hubconf.py setup.py
      
      There's a lot of fairly long lines in the project. As a consequence, I'm
      picking the longest widely accepted line length, 119 characters.
      
      This is also Thomas' preference, because it allows for explicit variable
      names, to make the code easier to understand.
      fa84ae26
  3. 04 Dec, 2019 1 commit
  4. 28 Aug, 2019 1 commit
  5. 15 Jul, 2019 3 commits
  6. 14 Jul, 2019 1 commit
  7. 13 Jul, 2019 2 commits
  8. 12 Jul, 2019 1 commit
  9. 11 Jul, 2019 2 commits
  10. 09 Jul, 2019 2 commits
  11. 05 Jul, 2019 1 commit